403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/maysayhoaqua.com.vn-bk/public_html/wp-content/plugins/wp-smtp/inc/Logger/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/maysayhoaqua.com.vn-bk/public_html/wp-content/plugins/wp-smtp/inc/Logger/Table.php
<?php
namespace WPSMTP\Logger;

class Table {

	public static $name;

	public function __construct() {


	}

	public static function install() {

		global $wpdb;

		self::$name = $wpdb->prefix . 'wpsmtp_logs';

		$sql = "CREATE TABLE IF NOT EXISTS `" . self::$name . "` (
				`mail_id` INT NOT NULL AUTO_INCREMENT,
				`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
				`to` VARCHAR(200) NOT NULL DEFAULT '0',
				`subject` VARCHAR(200) NOT NULL DEFAULT '0',
				`message` TEXT NULL,
				`headers` TEXT NULL,
				`error` TEXT NULL,
				PRIMARY KEY (`mail_id`)
			) DEFAULT CHARACTER SET = utf8 DEFAULT COLLATE utf8_general_ci;";

		require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
		dbDelta( $sql );
	}

	public static function view() {
		?>
        <div id="md-security" data-security="<?php echo wp_create_nonce('wpsmtp' ); ?>"></div>
		<table id="example" class="display widefat" style="width:100%">
			<thead>
			<tr>
				<th></th>
				<th>To</th>
				<th>Timestamp</th>
				<th>Subject</th>
				<th>Error</th>
			</tr>
			</thead>
            <tbody></tbody>
			<tfoot>
			<tr>
                <th></th>
                <th>To</th>
                <th>Timestamp</th>
                <th>Subject</th>
                <th>Error</th>
			</tr>
			</tfoot>
		</table>
		<?php
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit