Current Path: > home > transcarter > public_html > > > > wp-content > > plugins > wordfence > lib >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Diff | Directory | - | - | |
audit-log | Directory | - | - | |
dashboard | Directory | - | - | |
rest-api | Directory | - | - | |
.htaccess | File | 354 bytes | July 17 2025 21:05:48. | |
Diff.php | File | 5762 bytes | July 17 2025 21:05:47. | |
GeoLite2-Country.mmdb | File | 7825225 bytes | July 17 2025 21:05:48. | |
IPTraf.php | File | 1195 bytes | July 17 2025 21:05:48. | |
IPTrafList.php | File | 3054 bytes | July 17 2025 21:05:48. | |
WFLSPHP52Compatability.php | File | 1303 bytes | July 17 2025 21:05:48. | |
compat.php | File | 425 bytes | July 17 2025 21:05:47. | |
diffResult.php | File | 2874 bytes | July 17 2025 21:05:47. | |
email_genericAlert.php | File | 1422 bytes | July 17 2025 21:05:47. | |
email_newIssues.php | File | 9035 bytes | July 17 2025 21:05:47. | |
email_unlockRequest.php | File | 2397 bytes | July 17 2025 21:05:47. | |
email_unsubscribeRequest.php | File | 1077 bytes | July 17 2025 21:05:47. | |
flags.php | File | 6779 bytes | July 17 2025 21:05:47. | |
live_activity.php | File | 580 bytes | July 17 2025 21:05:48. | |
menu_dashboard.php | File | 28671 bytes | July 17 2025 21:05:48. | |
menu_dashboard_options.php | File | 15577 bytes | July 17 2025 21:05:48. | |
menu_firewall.php | File | 2167 bytes | July 17 2025 21:05:48. | |
menu_firewall_blocking.php | File | 10495 bytes | July 17 2025 21:05:48. | |
menu_firewall_blocking_options.php | File | 4737 bytes | July 17 2025 21:05:48. | |
menu_firewall_waf.php | File | 20443 bytes | July 17 2025 21:05:48. | |
menu_firewall_waf_options.php | File | 11357 bytes | July 17 2025 21:05:48. | |
menu_install.php | File | 1767 bytes | July 17 2025 21:05:48. | |
menu_options.php | File | 25291 bytes | July 17 2025 21:05:48. | |
menu_scanner.php | File | 22047 bytes | July 17 2025 21:05:48. | |
menu_scanner_credentials.php | File | 2838 bytes | July 17 2025 21:05:48. | |
menu_scanner_options.php | File | 8615 bytes | July 17 2025 21:05:48. | |
menu_support.php | File | 18243 bytes | July 17 2025 21:05:48. | |
menu_tools.php | File | 1528 bytes | July 17 2025 21:05:48. | |
menu_tools_auditlog.php | File | 16829 bytes | July 17 2025 21:05:48. | |
menu_tools_diagnostic.php | File | 50536 bytes | July 17 2025 21:05:48. | |
menu_tools_importExport.php | File | 1310 bytes | July 17 2025 21:05:48. | |
menu_tools_livetraffic.php | File | 40381 bytes | July 17 2025 21:05:48. | |
menu_tools_twoFactor.php | File | 20070 bytes | July 17 2025 21:05:48. | |
menu_tools_whois.php | File | 4722 bytes | July 17 2025 21:05:48. | |
menu_wordfence_central.php | File | 9889 bytes | July 17 2025 21:05:48. | |
noc1.key | File | 1683 bytes | July 17 2025 21:05:48. | |
sodium_compat_fast.php | File | 185 bytes | July 17 2025 21:05:48. | |
sysinfo.php | File | 1501 bytes | July 17 2025 21:05:48. | |
viewFullActivityLog.php | File | 1501 bytes | July 17 2025 21:05:48. | |
wf503.php | File | 9860 bytes | July 17 2025 21:05:48. | |
wfAPI.php | File | 10338 bytes | July 17 2025 21:05:48. | |
wfActivityReport.php | File | 20945 bytes | July 17 2025 21:05:48. | |
wfAdminNoticeQueue.php | File | 5323 bytes | July 17 2025 21:05:48. | |
wfAlerts.php | File | 7549 bytes | July 17 2025 21:05:48. | |
wfArray.php | File | 1816 bytes | July 17 2025 21:05:48. | |
wfAuditLog.php | File | 48265 bytes | July 17 2025 21:05:48. | |
wfBrowscap.php | File | 3996 bytes | July 17 2025 21:05:48. | |
wfBrowscapCache.php | File | 262994 bytes | July 17 2025 21:05:48. | |
wfBulkCountries.php | File | 10002 bytes | July 17 2025 21:05:48. | |
wfCache.php | File | 6166 bytes | July 17 2025 21:05:48. | |
wfCentralAPI.php | File | 26419 bytes | July 17 2025 21:05:48. | |
wfConfig.php | File | 125427 bytes | July 17 2025 21:05:48. | |
wfCrawl.php | File | 6722 bytes | July 17 2025 21:05:48. | |
wfCredentialsController.php | File | 5284 bytes | July 17 2025 21:05:48. | |
wfCrypt.php | File | 4146 bytes | July 17 2025 21:05:48. | |
wfCurlInterceptor.php | File | 1047 bytes | July 17 2025 21:05:48. | |
wfDB.php | File | 11764 bytes | July 17 2025 21:05:48. | |
wfDashboard.php | File | 8399 bytes | July 17 2025 21:05:48. | |
wfDateLocalization.php | File | 360582 bytes | July 17 2025 21:05:48. | |
wfDeactivationOption.php | File | 2184 bytes | July 17 2025 21:05:48. | |
wfDiagnostic.php | File | 68476 bytes | July 17 2025 21:05:48. | |
wfDict.php | File | 738 bytes | July 17 2025 21:05:48. | |
wfDirectoryIterator.php | File | 1937 bytes | July 17 2025 21:05:48. | |
wfFileUtils.php | File | 2784 bytes | July 17 2025 21:05:48. | |
wfHelperBin.php | File | 2015 bytes | July 17 2025 21:05:48. | |
wfHelperString.php | File | 2180 bytes | July 17 2025 21:05:48. | |
wfIPWhitelist.php | File | 1596 bytes | July 17 2025 21:05:48. | |
wfImportExportController.php | File | 3306 bytes | July 17 2025 21:05:48. | |
wfInaccessibleDirectoryException.php | File | 303 bytes | July 17 2025 21:05:48. | |
wfInvalidPathException.php | File | 266 bytes | July 17 2025 21:05:48. | |
wfIpLocation.php | File | 1768 bytes | July 17 2025 21:05:48. | |
wfIpLocator.php | File | 2810 bytes | July 17 2025 21:05:48. | |
wfIssues.php | File | 28582 bytes | July 17 2025 21:05:48. | |
wfJWT.php | File | 5455 bytes | July 17 2025 21:05:48. | |
wfLicense.php | File | 10682 bytes | July 17 2025 21:05:48. | |
wfLockedOut.php | File | 9959 bytes | July 17 2025 21:05:48. | |
wfLog.php | File | 58480 bytes | July 17 2025 21:05:48. | |
wfMD5BloomFilter.php | File | 5327 bytes | July 17 2025 21:05:48. | |
wfModuleController.php | File | 754 bytes | July 17 2025 21:05:48. | |
wfNotification.php | File | 6564 bytes | July 17 2025 21:05:48. | |
wfOnboardingController.php | File | 9443 bytes | July 17 2025 21:05:48. | |
wfPersistenceController.php | File | 819 bytes | July 17 2025 21:05:48. | |
wfRESTAPI.php | File | 377 bytes | July 17 2025 21:05:48. | |
wfScan.php | File | 16300 bytes | July 17 2025 21:05:48. | |
wfScanEngine.php | File | 136810 bytes | July 17 2025 21:05:48. | |
wfScanEntrypoint.php | File | 1070 bytes | July 17 2025 21:05:48. | |
wfScanFile.php | File | 1037 bytes | July 17 2025 21:05:48. | |
wfScanFileLink.php | File | 403 bytes | July 17 2025 21:05:48. | |
wfScanFileListItem.php | File | 408 bytes | July 17 2025 21:05:48. | |
wfScanFileProperties.php | File | 1095 bytes | July 17 2025 21:05:48. | |
wfScanMonitor.php | File | 4152 bytes | July 17 2025 21:05:48. | |
wfScanPath.php | File | 1817 bytes | July 17 2025 21:05:48. | |
wfSchema.php | File | 11175 bytes | July 17 2025 21:05:48. | |
wfStyle.php | File | 1244 bytes | July 17 2025 21:05:48. | |
wfSupportController.php | File | 24758 bytes | July 17 2025 21:05:48. | |
wfUnlockMsg.php | File | 1163 bytes | July 17 2025 21:05:48. | |
wfUpdateCheck.php | File | 27888 bytes | July 17 2025 21:05:48. | |
wfUtils.php | File | 127089 bytes | July 17 2025 21:05:48. | |
wfVersionCheckController.php | File | 19729 bytes | July 17 2025 21:05:48. | |
wfVersionSupport.php | File | 535 bytes | July 17 2025 21:05:48. | |
wfView.php | File | 2269 bytes | July 17 2025 21:05:48. | |
wfViewResult.php | File | 1455 bytes | July 17 2025 21:05:48. | |
wfWebsite.php | File | 1792 bytes | July 17 2025 21:05:48. | |
wordfenceClass.php | File | 447131 bytes | July 17 2025 21:05:48. | |
wordfenceConstants.php | File | 3650 bytes | July 17 2025 21:05:48. | |
wordfenceHash.php | File | 43726 bytes | July 17 2025 21:05:48. | |
wordfenceScanner.php | File | 31200 bytes | July 17 2025 21:05:48. | |
wordfenceURLHoover.php | File | 18804 bytes | July 17 2025 21:05:48. |
<?php class wfScan { public static $debugMode = false; public static $errorHandlingOn = true; public static $peakMemAtStart = 0; /** * Returns the stored cronkey or false if not set. If $expired is provided, will set to <timestamp>/false based * on whether or not the cronkey is expired. * * @param null $expired * @return bool|string */ private static function storedCronKey(&$expired = null) { $currentCronKey = wfConfig::get('currentCronKey', false); if (empty($currentCronKey)) { if ($expired !== null) { $expired = false; } return false; } $savedKey = explode(',',$currentCronKey); if (time() - $savedKey[0] > 86400) { if ($expired !== null) { $expired = $savedKey[0]; } return $savedKey[1]; } if ($expired !== null) { $expired = false; } return $savedKey[1]; } public static function wfScanMain(){ self::$peakMemAtStart = memory_get_peak_usage(true); $db = new wfDB(); if($db->errorMsg){ self::errorExit(sprintf(/* translators: Error message. */ __("Could not connect to database to start scan: %s", 'wordfence'), $db->errorMsg)); } if(! wordfence::wfSchemaExists()){ self::errorExit(__("Looks like the Wordfence database tables have been deleted. You can fix this by de-activating and re-activating the Wordfence plugin from your Plugins menu.", 'wordfence')); } if( isset( $_GET['test'] ) && $_GET['test'] == '1'){ echo "WFCRONTESTOK:" . wfConfig::get('cronTestID'); self::status(4, 'info', __("Cron test received and message printed", 'wordfence')); exit(); } self::status(4, 'info', __("Scan engine received request.", 'wordfence')); /* ----------Starting signature check -------- */ self::status(4, 'info', __("Verifying start request signature.", 'wordfence')); if (!isset($_GET['signature']) || !wfScanEngine::verifyStartSignature($_GET['signature'], isset($_GET['isFork']) ? wfUtils::truthyToBoolean($_GET['isFork']) : false, isset($_GET['scanMode']) ? $_GET['scanMode'] : '', isset($_GET['cronKey']) ? $_GET['cronKey'] : '', isset($_GET['remote']) ? wfUtils::truthyToBoolean($_GET['remote']) : false)) { self::errorExit(__('The signature on the request to start a scan is invalid. Please try again.', 'wordfence')); } /* ----------Starting cronkey check -------- */ self::status(4, 'info', __("Fetching stored cronkey for comparison.", 'wordfence')); $expired = false; $storedCronKey = self::storedCronKey($expired); $displayCronKey_received = (isset($_GET['cronKey']) ? (preg_match('/^[a-f0-9]+$/i', $_GET['cronKey']) && strlen($_GET['cronKey']) == 32 ? $_GET['cronKey'] : __('[invalid]', 'wordfence')) : __('[none]', 'wordfence')); $displayCronKey_stored = (!empty($storedCronKey) && !$expired ? $storedCronKey : __('[none]', 'wordfence')); self::status(4, 'info', sprintf(/* translators: 1. WordPress nonce. 2. WordPress nonce. */ __('Checking cronkey: %1$s (expecting %2$s)', 'wordfence'), $displayCronKey_received, $displayCronKey_stored)); if (empty($_GET['cronKey'])) { self::status(4, 'error', __("Wordfence scan script accessed directly, or WF did not receive a cronkey.", 'wordfence')); echo "If you see this message it means Wordfence is working correctly. You should not access this URL directly. It is part of the Wordfence security plugin and is designed for internal use only."; exit(); } if ($expired) { self::errorExit(sprintf( /* translators: 1. Unix timestamp. 2. WordPress nonce. 3. Unix timestamp. */ __('The key used to start a scan expired. The value is: %1$s and split is: %2$s and time is: %3$d', 'wordfence'), $expired, $storedCronKey, time())); } //keys only last 60 seconds and are used within milliseconds of creation if (!$storedCronKey) { wordfence::status(4, 'error', __("Wordfence could not find a saved cron key to start the scan so assuming it started and exiting.", 'wordfence')); exit(); } self::status(4, 'info', __("Checking saved cronkey against cronkey param", 'wordfence')); if (!hash_equals($storedCronKey, $_GET['cronKey'])) { self::errorExit( sprintf( /* translators: 1. WordPress nonce (used for debugging). 2. WordPress nonce (used for debugging). 3. WordPress nonce (used for debugging). */ __('Wordfence could not start a scan because the cron key does not match the saved key. Saved: %1$s Sent: %2$s Current unexploded: %3$s', 'wordfence'), $storedCronKey, $_GET['cronKey'], wfConfig::get('currentCronKey', false) ) ); } wfConfig::set('currentCronKey', ''); /* --------- end cronkey check ---------- */ wfScanMonitor::logLastSuccess(); $scanMode = wfScanner::SCAN_TYPE_STANDARD; if (isset($_GET['scanMode']) && wfScanner::isValidScanType($_GET['scanMode'])) { $scanMode = $_GET['scanMode']; } $scanController = new wfScanner($scanMode); wfConfig::remove('scanStartAttempt'); $isFork = ($_GET['isFork'] == '1' ? true : false); wfScanMonitor::handleStageStart($isFork); if(! $isFork){ self::status(4, 'info', __("Checking if scan is already running", 'wordfence')); if(! wfUtils::getScanLock()){ self::errorExit(__("There is already a scan running.", 'wordfence')); } wfIssues::updateScanStillRunning(); wfConfig::set('wfPeakMemory', 0, wfConfig::DONT_AUTOLOAD); wfConfig::set('wfScanStartVersion', wfUtils::getWPVersion()); wfConfig::set('lowResourceScanWaitStep', false); if ($scanController->useLowResourceScanning()) { self::status(1, 'info', __("Using low resource scanning", 'wordfence')); } } self::status(4, 'info', __("Requesting max memory", 'wordfence')); wfUtils::requestMaxMemory(); self::status(4, 'info', __("Setting up error handling environment", 'wordfence')); set_error_handler('wfScan::error_handler', E_ALL); register_shutdown_function('wfScan::shutdown'); if(! self::$debugMode){ ob_start('wfScan::obHandler'); } @error_reporting(E_ALL); wfUtils::iniSet('display_errors','On'); self::status(4, 'info', __("Setting up scanRunning and starting scan", 'wordfence')); try { if ($isFork) { $scan = wfConfig::get_ser('wfsd_engine', false, false); if ($scan) { self::status(4, 'info', sprintf(/* translators: Error message (used for debugging). */ __("Got a true deserialized value back from 'wfsd_engine' with type: %s", 'wordfence'), gettype($scan))); wfConfig::set('wfsd_engine', '', wfConfig::DONT_AUTOLOAD); } else { self::status(2, 'error', sprintf(/* translators: Error message (used for debugging). */ __("Scan can't continue - stored data not found after a fork. Got type: %s", 'wordfence'), gettype($scan))); wfConfig::set('wfsd_engine', '', wfConfig::DONT_AUTOLOAD); wfConfig::set('lastScanCompleted', __('Scan can\'t continue - stored data not found after a fork.', 'wordfence')); wfConfig::set('lastScanFailureType', wfIssues::SCAN_FAILED_FORK_FAILED); wfUtils::clearScanLock(); self::status(2, 'error', "Scan terminated with error: " . __('Scan can\'t continue - stored data not found after a fork.', 'wordfence')); self::status(10, 'info', "SUM_KILLED:" . __('Previous scan terminated with an error. See below.', 'wordfence')); exit(); } } else { $delay = -1; $isScheduled = false; $originalScanStart = wfConfig::get('originalScheduledScanStart', 0); $lastScanStart = wfConfig::get('lastScheduledScanStart', 0); $minimumFrequency = ($scanController->schedulingMode() == wfScanner::SCAN_SCHEDULING_MODE_MANUAL ? 1800 : 43200); if ($lastScanStart && (time() - $lastScanStart) < $minimumFrequency) { $isScheduled = true; if ($originalScanStart > 0) { $delay = max($lastScanStart - $originalScanStart, 0); } } wfIssues::statusPrep(); //Re-initializes all status counters $scanController->resetStages(); $scanController->resetSummaryItems(); if ($scanMode != wfScanner::SCAN_TYPE_QUICK) { wordfence::status(1, 'info', __("Contacting Wordfence to initiate scan", 'wordfence')); $wp_version = wfUtils::getWPVersion(); $apiKey = wfConfig::get('apiKey'); $api = new wfAPI($apiKey, $wp_version); $response = $api->call('log_scan', array(), array('delay' => $delay, 'scheduled' => (int) $isScheduled, 'mode' => wfConfig::get('schedMode')/*, 'forcedefer' => 1*/)); if ($scanController->schedulingMode() == wfScanner::SCAN_SCHEDULING_MODE_AUTOMATIC && $isScheduled) { if (isset($response['defer'])) { $defer = (int) $response['defer']; wordfence::status(2, 'info', sprintf(/* translators: Time until. */ __("Deferring scheduled scan by %s", 'wordfence'), wfUtils::makeDuration($defer))); wfConfig::set('lastScheduledScanStart', 0); wfConfig::set('lastScanCompleted', 'ok'); wfConfig::set('lastScanFailureType', false); wfConfig::set_ser('wfStatusStartMsgs', array()); $scanController->recordLastScanTime(); $i = new wfIssues(); wfScanEngine::refreshScanNotification($i); wfScanner::shared()->scheduleSingleScan(time() + $defer, $originalScanStart); wfUtils::clearScanLock(); exit(); } } $malwarePrefixesHash = (isset($response['malwarePrefixes']) ? $response['malwarePrefixes'] : ''); $coreHashesHash = (isset($response['coreHashes']) ? $response['coreHashes'] : ''); $scan = new wfScanEngine($malwarePrefixesHash, $coreHashesHash, $scanMode); $scan->deleteNewIssues(); } else { wordfence::status(1, 'info', __("Initiating quick scan", 'wordfence')); $scan = new wfScanEngine('', '', $scanMode); } } $scan->go(); } catch (wfScanEngineDurationLimitException $e) { //User error set in wfScanEngine wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(__("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); exit(); } catch (wfScanEngineCoreVersionChangeException $e) { //User error set in wfScanEngine wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( /* translators: 1. Bytes of memory. 2. Bytes of memory. */ __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(/* translators: Error message. */ __("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); $nextScheduledScan = wfScanner::shared()->nextScheduledScanTime(); if ($nextScheduledScan !== false && $nextScheduledScan - time() > 21600 /* 6 hours */) { $nextScheduledScan = time() + 3600; wfScanner::shared()->scheduleSingleScan($nextScheduledScan); } self::status(2, 'error', wordfence::getNextScanStartTime($nextScheduledScan)); exit(); } catch (wfAPICallSSLUnavailableException $e) { wfConfig::set('lastScanCompleted', $e->getMessage()); wfConfig::set('lastScanFailureType', wfIssues::SCAN_FAILED_API_SSL_UNAVAILABLE); wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( /* translators: 1. Bytes of memory. 2. Bytes of memory. */ __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(/* translators: Error message. */__("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); exit(); } catch (wfAPICallFailedException $e) { wfConfig::set('lastScanCompleted', $e->getMessage()); wfConfig::set('lastScanFailureType', wfIssues::SCAN_FAILED_API_CALL_FAILED); wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( /* translators: 1. Bytes of memory. 2. Bytes of memory. */ __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(/* translators: Error message. */ __("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); exit(); } catch (wfAPICallInvalidResponseException $e) { wfConfig::set('lastScanCompleted', $e->getMessage()); wfConfig::set('lastScanFailureType', wfIssues::SCAN_FAILED_API_INVALID_RESPONSE); wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( /* translators: 1. Bytes of memory. 2. Bytes of memory. */ __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(/* translators: Error message. */ __("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); exit(); } catch (wfAPICallErrorResponseException $e) { wfConfig::set('lastScanCompleted', $e->getMessage()); wfConfig::set('lastScanFailureType', wfIssues::SCAN_FAILED_API_ERROR_RESPONSE); wfUtils::clearScanLock(); $peakMemory = self::logPeakMemory(); self::status(2, 'info', sprintf( /* translators: 1. Bytes of memory. 2. Bytes of memory. */ __('Wordfence used %1$s of memory for scan. Server peak memory usage was: %2$s', 'wordfence'), wfUtils::formatBytes($peakMemory - self::$peakMemAtStart), wfUtils::formatBytes($peakMemory) )); self::status(2, 'error', sprintf(/* translators: Error message. */ __("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); if (preg_match('/The Wordfence API key you\'re using is already being used by: (\S*?) /', $e->getMessage(), $matches)) { wordfence::alert(__('Wordfence scan failed because of license site URL conflict', 'wordfence'), sprintf( /* translators: Site URL. */ __(<<<MSG The Wordfence scan has failed because the Wordfence API key you're using is already being used by: %s If you have changed your blog URL, please sign-in to Wordfence, purchase a new key or reset an existing key, and then enter that key on this site's Wordfence Options page. MSG , 'wordfence'), $matches[1]), false); } exit(); } catch (Exception $e) { wfUtils::clearScanLock(); self::status(2, 'error', sprintf(/* translators: Error message. */ __("Scan terminated with error: %s", 'wordfence'), $e->getMessage())); self::status(10, 'info', "SUM_KILLED:" . __('Previous scan terminated with an error. See below.', 'wordfence')); exit(); } wfUtils::clearScanLock(); } public static function logPeakMemory(){ $oldPeak = wfConfig::get('wfPeakMemory', 0, false); $peak = memory_get_peak_usage(true); if ($peak > $oldPeak) { wfConfig::set('wfPeakMemory', $peak, wfConfig::DONT_AUTOLOAD); return $peak; } return $oldPeak; } public static function obHandler($buf){ if(strlen($buf) > 1000){ $buf = substr($buf, 0, 255); } if(empty($buf) === false && preg_match('/[a-zA-Z0-9]+/', $buf)){ self::status(1, 'error', $buf); } } public static function error_handler($errno, $errstr, $errfile, $errline){ if(self::$errorHandlingOn && error_reporting() > 0){ if(preg_match('/wordfence\//', $errfile)){ $level = 1; //It's one of our files, so level 1 } else { $level = 4; //It's someone elses plugin so only show if debug is enabled } self::status($level, 'error', "$errstr ($errno) File: $errfile Line: $errline"); } return false; } public static function shutdown(){ self::logPeakMemory(); } private static function errorExit($msg){ wordfence::status(1, 'error', sprintf(/* translators: Error message. */ __('Scan Engine Error: %s', 'wordfence'), $msg)); exit(); } private static function status($level, $type, $msg){ wordfence::status($level, $type, $msg); } }
SILENT KILLER Tool