Server IP : 172.67.157.199 / Your IP : 3.133.156.208 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/defender-security/src/component/security-tweaks/servers/ |
Upload File : |
<?php /** * Responsible for managing server configurations related to security tweaks . * * @package WP_Defender\Component\Security_Tweaks\Servers */ namespace WP_Defender\Component\Security_Tweaks\Servers; /** * Class for case when we need to "compile PHP to WebAssembly". * * @since 4.5.1 */ class PHP_Wasm { /** * Service type. * * @var string */ private $type = null; /** * Constructor for class. * * @param string $type The type of the security tweak. */ public function __construct( $type ) { $this->type = $type; } /** * Check whether the issue has been resolved or not. * * @return bool */ public function check() { // Todo:add logic using $this->type for 'prevent-php-executed' & 'protect-information'. return false; } /** * Process the rule. * * @return bool */ public function process() { return true; } /** * Revert the rule. * * @return bool */ public function revert() { return true; } }