Server IP : 192.64.118.117 / Your IP : 3.16.30.154 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/thecgapy/mobilecreationz.com/wp-content/plugins/wordfence/ |
Upload File : |
<?php /* Plugin Name: Wordfence Security Plugin URI: http://www.wordfence.com/ Description: Wordfence Security - Anti-virus, Firewall and Malware Scan Author: Wordfence Version: 6.3.2 Author URI: http://www.wordfence.com/ Network: true */ if(defined('WP_INSTALLING') && WP_INSTALLING){ return; } define('WORDFENCE_VERSION', '6.3.2'); define('WORDFENCE_BASENAME', function_exists('plugin_basename') ? plugin_basename(__FILE__) : basename(dirname(__FILE__)) . '/' . basename(__FILE__)); global $wp_plugin_paths; foreach ($wp_plugin_paths as $dir => $realdir) { if (strpos(__FILE__, $realdir) === 0) { define('WORDFENCE_FCPATH', $dir . '/' . basename(__FILE__)); define('WORDFENCE_PATH', trailingslashit($dir)); break; } } if (!defined('WORDFENCE_FCPATH')) { /** @noinspection PhpConstantReassignmentInspection */ define('WORDFENCE_FCPATH', __FILE__); /** @noinspection PhpConstantReassignmentInspection */ define('WORDFENCE_PATH', trailingslashit(dirname(WORDFENCE_FCPATH))); } if(get_option('wordfenceActivated') != 1){ add_action('activated_plugin','wordfence_save_activation_error'); function wordfence_save_activation_error(){ update_option('wf_plugin_act_error', ob_get_contents()); } } if(! defined('WORDFENCE_VERSIONONLY_MODE')){ //Used to get version from file. if((int) @ini_get('memory_limit') < 128){ if(strpos(ini_get('disable_functions'), 'ini_set') === false){ @ini_set('memory_limit', '128M'); //Some hosts have ini set at as little as 32 megs. 64 is the min sane amount of memory. } } /** * Constant to determine if Wordfence is installed on another WordPress site one or more directories up in * auto_prepend_file mode. */ define('WFWAF_SUBDIRECTORY_INSTALL', class_exists('wfWAF') && !in_array(realpath(dirname(__FILE__) . '/vendor/wordfence/wf-waf/src/init.php'), get_included_files())); if (!WFWAF_SUBDIRECTORY_INSTALL) { require_once 'vendor/wordfence/wf-waf/src/init.php'; if (!wfWAF::getInstance()) { define('WFWAF_AUTO_PREPEND', false); require_once 'waf/bootstrap.php'; } } require_once('lib/wordfenceConstants.php'); require_once('lib/wordfenceClass.php'); wordfence::install_actions(); } ?>