GRAYBYTE WORDPRESS FILE MANAGER6201

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content//advanced-cache.php
<?php
# WP SUPER CACHE 1.2
# WP SUPER CACHE 0.8.9.1
# AL ADVANCED CACHE 1.0
$cache_fname = dirname( __FILE__ ) . "/plugins/airlift/buffer/cache.php";
$helper_fname = dirname( __FILE__ ) . '/plugins/airlift/helper.php';

if (file_exists($cache_fname) && file_exists($helper_fname)) {
	require_once $cache_fname;
	require_once $helper_fname;

	$GLOBALS['al_cache_skip_cookies'] = ["woocommerce_cart_hash", "woocommerce_items_in_cart"];

	function hasIgnoredScript() {
		if (in_array(
			basename($_SERVER['SCRIPT_FILENAME']),
			array(
				'wp-app.php',
				'xmlrpc.php',
				'wp-cron.php',
			)
		)) {
			return true;
		}
		if (strstr($_SERVER['SCRIPT_FILENAME'], 'wp-includes/js')) {
			return true;
		}
		return false;
	}

	function hasIgnoredHeaders() {
		if (!empty($_SERVER['HTTP_X_WP_NONCE']) || !empty($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE']) || !empty($_SERVER['HTTP_AUTHORIZATION'])) {
			return true;
		}
		return false;
	}

	function hasIgnoredCookies($ignored_cookies, $skip_cookies) {
		if (!is_array($_COOKIE) || empty($_COOKIE)) {
			return false;
		}

		foreach (array_keys($_COOKIE) as $cookie_name) {
			$is_skipped = false;

			// First check if cookie should be skipped from ignore list
			foreach ($skip_cookies as $skip_cookie) {
				if (ALHelper::safePregMatch($skip_cookie, $cookie_name)) {
					$is_skipped = true;
					break;
				}
			}

			// If cookie is not in skip list, check if it matches ignore patterns
			if (!$is_skipped) {
				foreach ($ignored_cookies as $ignored_cookie) {
					if (ALHelper::safePregMatch($ignored_cookie, $cookie_name)) {
						return true;
					}
				}
			}
		}
		return false;
	}

	function hasIgnoredUserAgents($ignored_user_agents) {
		foreach ($ignored_user_agents as $ignored_ua) {
			if(ALHelper::safePregMatch($ignored_ua, $_SERVER['HTTP_USER_AGENT'])) {
				return true;
			}
		}
		return false;
	}

	function isIgnoredRequestMethod($allowed_methods) {
		if (in_array($_SERVER['REQUEST_METHOD'], $allowed_methods)) {
			return false;
		}
		return true;
	}

	function canCachePage() {
		if (hasIgnoredScript()) {
			return false;
		}
		if (hasIgnoredHeaders()) {
			return false;
		}

		$ignored_cookies = ["/^wp/", "/^wordpress/", "/^comment_author/"];
		$ignored_user_agents = ["/Zapier/i"];
		$skip_cookies_to_ignore_optimization = ["/wordpress_test_cookie/", "/wordpress_ic_session/", "/wp-wpml_current_language/", "/wp_woocommerce_session/", "/wp-settings/", "/wpcw_timezone/"];
		$allowed_methods = array("GET", "HEAD");
		if (hasIgnoredCookies($ignored_cookies, $skip_cookies_to_ignore_optimization) || hasIgnoredUserAgents($ignored_user_agents) || isIgnoredRequestMethod($allowed_methods)) {
			return false;
		}
		return true;
	}

	if (canCachePage()) {
		$socache = new ALCache();
		$socache->startCaching();
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
August 11 2025 01:35:49
hellrfbn / nobody
0750
WPvivid_Uploads
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
cache
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
ewww
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
gallery
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
jetpack-waf
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
languages
--
July 23 2025 09:15:52
hellrfbn / hellrfbn
0755
litespeed
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
mu-plugins
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
mu-plugins-old
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
newbackup
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
ngg
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
plugins
--
July 23 2025 07:45:52
hellrfbn / hellrfbn
0755
plugins-old
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
smush-webp
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
themes
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
themes-old
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
updraft
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
upgrade
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
upgrade-temp-backup
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
uploads
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
uploads-old
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
uploads-webpc
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
video
--
August 09 2025 13:13:22
hellrfbn / hellrfbn
0755
w3tc-config
--
July 23 2025 07:38:26
hellrfbn / hellrfbn
0755
wflogs
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
wp-content
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
wp-includes
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
wphb-logs
--
July 23 2025 07:38:29
hellrfbn / hellrfbn
0755
wpvivid_staging
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
wpvivid_uploads
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.litespeed_conf.dat
1.764 KB
December 21 2024 02:35:09
hellrfbn / hellrfbn
0644
advanced-cache.php
2.722 KB
July 20 2025 13:34:21
hellrfbn / hellrfbn
0644
index.php
0.027 KB
November 29 2023 10:00:14
hellrfbn / hellrfbn
0644
object-cache.php
1.776 KB
December 21 2024 02:35:09
hellrfbn / hellrfbn
0644
php.ini
0.473 KB
November 29 2023 10:00:05
hellrfbn / hellrfbn
0644
post-smtp-migration.log
1.272 KB
November 29 2023 10:00:14
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF