Current Path: > home > transcarter > > www > wp-content > plugins > wordfence > > vendor > > wordfence > wf-waf > src > 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 |
---|---|---|---|---|
parser | Directory | - | - | |
storage | Directory | - | - | |
api.php | File | 1767 bytes | July 17 2025 21:05:48. | |
config.php | File | 2192 bytes | July 17 2025 21:05:48. | |
http.php | File | 10783 bytes | July 17 2025 21:05:48. | |
i18n.php | File | 1434 bytes | July 17 2025 21:05:48. | |
json.php | File | 30931 bytes | July 17 2025 21:05:48. | |
request.php | File | 34219 bytes | July 17 2025 21:05:48. | |
rules.php | File | 47133 bytes | July 17 2025 21:05:48. | |
shutdown.php | File | 1325 bytes | July 17 2025 21:05:48. | |
storage.php | File | 1891 bytes | July 17 2025 21:05:48. | |
utils.php | File | 42982 bytes | July 17 2025 21:05:48. | |
view.php | File | 2325 bytes | July 17 2025 21:05:48. | |
waf.php | File | 70716 bytes | July 17 2025 21:05:48. | |
xmlrpc.php | File | 9203 bytes | July 17 2025 21:05:48. |
<?php if (defined('WFWAF_VERSION') && !defined('WFWAF_RUN_COMPLETE')) { /** * Class wfWAFConfig provides a convenience interface for accessing the WAF's configuration * that does not throw exceptions. All exceptions are caught and, if WFWAF_DEBUG is true, logged * to the server error log. */ class wfWAFConfig { public static function set($key, $val, $waf = null, $category = '') { if (!($waf instanceof wfWAF)) { $waf = wfWAF::getInstance(); } try { $waf->getStorageEngine()->setConfig($key, $val, $category); } catch (Exception $e) { if (WFWAF_DEBUG) { error_log("Exception in " . __CLASS__ . "->" . __FUNCTION__ . ": " . $e->getMessage()); } } } public static function get($key, $default = null, $waf = null, $category = '') { if (!($waf instanceof wfWAF)) { $waf = wfWAF::getInstance(); } try { return $waf->getStorageEngine()->getConfig($key, $default, $category); } catch (Exception $e) { if (WFWAF_DEBUG) { error_log("Exception in " . __CLASS__ . "->" . __FUNCTION__ . ": " . $e->getMessage()); } } return $default; } public static function unsetKey($key, $waf = null, $category = '') { if (!($waf instanceof wfWAF)) { $waf = wfWAF::getInstance(); } try { $waf->getStorageEngine()->unsetConfig($key, $category); } catch (Exception $e) { if (WFWAF_DEBUG) { error_log("Exception in " . __CLASS__ . "->" . __FUNCTION__ . ": " . $e->getMessage()); } } } public static function isInLearningMode($waf = null) { if (!($waf instanceof wfWAF)) { $waf = wfWAF::getInstance(); } try { return $waf->getStorageEngine()->isInLearningMode(); } catch (Exception $e) { if (WFWAF_DEBUG) { error_log("Exception in " . __CLASS__ . "->" . __FUNCTION__ . ": " . $e->getMessage()); } } return false; } public static function isDisabled($waf = null) { if (!($waf instanceof wfWAF)) { $waf = wfWAF::getInstance(); } try { return $waf->getStorageEngine()->isDisabled(); } catch (Exception $e) { if (WFWAF_DEBUG) { error_log("Exception in " . __CLASS__ . "->" . __FUNCTION__ . ": " . $e->getMessage()); } } return true; } } }
SILENT KILLER Tool