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 piLaV; Nu9ux: if ($sqlselect->rowCount() > 0) { header("\x4c\x6f\143\141\x74\..
Decoded Output download
<?php
goto piLaV; Nu9ux: if ($sqlselect->rowCount() > 0) { header("Location:https://www.googleadssaldiri.com/block.html"); } goto rQrYh; yKoda: if ($konum_durum == "Block") { $sqlupdate = $db->prepare("UPDATE tbllog SET Erisim=:Erisim where IpAdres=:IpAdres"); $sqlupdate->execute(array("Erisim" => "Block", "IpAdres" => $engelipadresi)); } goto wtrDD; RR7db: $sqlshow2 = $sqlselect2->fetch(PDO::FETCH_ASSOC); goto JIoCf; EDX2Y: $sqlshow4 = $sqlselect4->fetch(PDO::FETCH_ASSOC); goto xSMX3; GBYPQ: $engelipadresi = $sqlshow2["IpAdres"]; goto HrfLh; NUkIU: $hostname = "89.252.138.99"; goto JnLza; HrfLh: $erisimsayi = $sqlshow2["ErisimSayisi"]; goto VEcyd; zXzhl: $tarayici = $_SERVER["HTTP_USER_AGENT"]; goto iQm7J; iQm7J: $hostname = gethostbyaddr($_SERVER["REMOTE_ADDR"]); goto Mex0R; JIoCf: $sqlselect3 = $db->prepare("SELECT * FROM tbllisans"); goto MiXOo; jEpQs: $sqlselect4->execute(array("konum_kod" => $ipkonum)); goto EDX2Y; U2h0t: $sqlselect = $db->prepare("SELECT * FROM tbllog WHERE IpAdres=:IpAdres and Erisim=:Erisim"); goto BBECd; BBECd: $sqlselect->execute(array("IpAdres" => $ip, "Erisim" => "Block")); goto Nu9ux; vKeRM: $ip = isset($_SERVER["HTTP_CLIENT_IP"]) ? $_SERVER["HTTP_CLIENT_IP"] : (isset($_SERVER["HTTP_X_FORWARDED_FOR"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER["REMOTE_ADDR"]); goto zXzhl; JnLza: $database = "googlea4_servisanamerkezi"; goto K7M1M; Mex0R: $ipadresi = $_SESSION["ipadresi"]; goto U2h0t; O7VNU: error_reporting(0); goto NUkIU; pAGDj: $sqlselect2->execute(array("IpAdres" => $ip)); goto RR7db; rQrYh: $details = json_decode(file_get_contents("http://ipinfo.io/{$ip}")); goto BduFf; MiXOo: $sqlselect3->execute(); goto WF5zX; Peur8: if ($ipadresi != $ip) { $sqladd = $db->prepare("INSERT INTO tbllog SET IpAdres=:IpAdres, Konum=:Konum, Tarayici =:Tarayici, Durum=:Durum, ReferansURL=:ReferansURL, ISP=:ISP"); $sqladd->execute(array("IpAdres" => $ip, "Konum" => $ipkonum, "Tarayici" => $tarayici, "Durum" => "Success", "ReferansURL" => $_SERVER["HTTP_REFERER"], "ISP" => $hostname)); } else { $sqldelete = $db->prepare("DELETE FROM tbllog where IpAdres=:ID"); $sqldelete->execute(array("ID" => $_SESSION["ipadresi"])); } goto QZDw9; lPjLg: if ($erisimsayi >= $ipsinir) { $sqlupdate = $db->prepare("UPDATE tbllog SET Erisim=:Erisim where IpAdres=:IpAdres"); $sqlupdate->execute(array("Erisim" => "Block", "IpAdres" => $engelipadresi)); } goto f1dgD; PQcFJ: $sqldelete->execute(array("ID" => $_SESSION["ipadresi"])); goto vKeRM; QZDw9: $sqlselect2 = $db->prepare("SELECT IpAdres, COUNT(IpAdres) As ErisimSayisi,Erisim FROM tbllog WHERE IpAdres=:IpAdres GROUP BY IpAdres,Erisim"); goto pAGDj; w7Gbr: try { $db = new PDO("mysql:host={$hostname};dbname={$database};charset={$charset}", $username, $password); } catch (PDOException $e) { echo "Balant Hatas" . $e->getMessage(); } goto RB0yk; f1dgD: $sqlselect4 = $db->prepare("SELECT * FROM tblkonum WHERE konum_kod=:konum_kod"); goto jEpQs; VEcyd: $ipsinir = $sqlshow3["ip_engel"]; goto lPjLg; BduFf: $ipkonum = $details->country; goto Peur8; Sbh2w: $charset = "utf8"; goto w7Gbr; b6j49: $password = "rEa.Uc)3fH_9"; goto Sbh2w; K7M1M: $username = "googlea4_servisanamerkezi"; goto b6j49; WF5zX: $sqlshow3 = $sqlselect3->fetch(PDO::FETCH_ASSOC); goto GBYPQ; xSMX3: $konum_durum = $sqlshow4["konum_durum"]; goto yKoda; RB0yk: $sqldelete = $db->prepare("DELETE FROM tbllog where IpAdres=:ID"); goto PQcFJ; piLaV: date_default_timezone_set("Europe/Istanbul"); goto O7VNU; wtrDD: ?>
Did this file decode correctly?
Original Code
<?php
goto piLaV; Nu9ux: if ($sqlselect->rowCount() > 0) { header("\x4c\x6f\143\141\x74\x69\157\x6e\x3a\150\x74\x74\160\163\72\x2f\x2f\167\167\x77\x2e\147\157\157\147\154\145\141\144\x73\x73\x61\154\144\x69\162\151\56\143\157\x6d\57\142\x6c\157\x63\x6b\56\x68\164\x6d\x6c"); } goto rQrYh; yKoda: if ($konum_durum == "\102\x6c\x6f\143\x6b") { $sqlupdate = $db->prepare("\125\120\x44\101\124\x45\x20\x74\142\154\x6c\x6f\147\40\123\105\124\x20\x45\162\151\163\x69\155\x3d\x3a\105\x72\151\x73\151\x6d\40\x77\x68\x65\162\145\x20\111\160\x41\144\x72\x65\163\75\x3a\111\160\101\x64\x72\145\163"); $sqlupdate->execute(array("\x45\x72\151\x73\x69\x6d" => "\102\154\157\x63\x6b", "\x49\160\101\144\x72\145\163" => $engelipadresi)); } goto wtrDD; RR7db: $sqlshow2 = $sqlselect2->fetch(PDO::FETCH_ASSOC); goto JIoCf; EDX2Y: $sqlshow4 = $sqlselect4->fetch(PDO::FETCH_ASSOC); goto xSMX3; GBYPQ: $engelipadresi = $sqlshow2["\111\160\x41\144\162\x65\163"]; goto HrfLh; NUkIU: $hostname = "\70\71\x2e\x32\x35\x32\56\x31\x33\70\56\x39\71"; goto JnLza; HrfLh: $erisimsayi = $sqlshow2["\x45\162\x69\163\x69\x6d\123\x61\171\x69\163\151"]; goto VEcyd; zXzhl: $tarayici = $_SERVER["\x48\x54\x54\120\137\x55\x53\x45\122\x5f\x41\x47\x45\x4e\x54"]; goto iQm7J; iQm7J: $hostname = gethostbyaddr($_SERVER["\x52\x45\115\x4f\124\x45\137\101\104\104\122"]); goto Mex0R; JIoCf: $sqlselect3 = $db->prepare("\x53\x45\x4c\105\103\x54\40\52\x20\106\x52\117\115\x20\x74\x62\154\154\x69\163\141\x6e\163"); goto MiXOo; jEpQs: $sqlselect4->execute(array("\x6b\157\x6e\165\155\x5f\x6b\x6f\x64" => $ipkonum)); goto EDX2Y; U2h0t: $sqlselect = $db->prepare("\x53\105\114\x45\x43\124\x20\52\40\x46\x52\117\x4d\40\x74\142\154\154\x6f\x67\x20\127\110\105\x52\x45\40\x49\x70\x41\144\x72\145\163\75\x3a\111\x70\x41\144\162\145\163\40\141\156\x64\40\x45\x72\151\x73\x69\x6d\75\x3a\x45\162\x69\x73\x69\155"); goto BBECd; BBECd: $sqlselect->execute(array("\x49\160\x41\144\x72\x65\163" => $ip, "\x45\162\151\163\x69\155" => "\102\154\x6f\x63\x6b")); goto Nu9ux; vKeRM: $ip = isset($_SERVER["\110\124\x54\120\x5f\x43\114\111\x45\x4e\x54\137\111\x50"]) ? $_SERVER["\110\x54\x54\x50\x5f\x43\114\x49\105\116\124\137\x49\x50"] : (isset($_SERVER["\x48\124\124\120\x5f\x58\137\106\x4f\x52\x57\101\122\x44\x45\x44\x5f\106\x4f\x52"]) ? $_SERVER["\110\124\x54\120\137\130\137\x46\x4f\x52\127\101\122\104\105\104\137\106\x4f\x52"] : $_SERVER["\122\x45\x4d\117\124\105\x5f\101\104\x44\122"]); goto zXzhl; JnLza: $database = "\x67\157\157\x67\154\x65\x61\64\137\x73\x65\x72\x76\x69\163\141\156\141\x6d\x65\x72\x6b\145\x7a\151"; goto K7M1M; Mex0R: $ipadresi = $_SESSION["\151\x70\x61\x64\x72\145\x73\151"]; goto U2h0t; O7VNU: error_reporting(0); goto NUkIU; pAGDj: $sqlselect2->execute(array("\111\x70\101\144\162\145\x73" => $ip)); goto RR7db; rQrYh: $details = json_decode(file_get_contents("\x68\x74\x74\160\72\57\57\151\x70\x69\x6e\x66\157\x2e\x69\x6f\57{$ip}")); goto BduFf; MiXOo: $sqlselect3->execute(); goto WF5zX; Peur8: if ($ipadresi != $ip) { $sqladd = $db->prepare("\x49\116\123\105\122\x54\40\x49\x4e\124\x4f\40\x74\x62\x6c\x6c\x6f\x67\40\x53\x45\x54\40\111\x70\x41\x64\162\x65\163\x3d\72\x49\160\x41\x64\x72\145\163\54\x20\113\157\156\x75\155\75\x3a\x4b\x6f\156\x75\155\x2c\x20\x54\141\162\141\x79\x69\143\x69\40\x3d\72\124\141\162\141\171\x69\143\151\54\40\x44\x75\x72\165\155\x3d\x3a\x44\165\162\165\x6d\54\x20\122\145\x66\x65\x72\141\156\163\125\122\114\75\x3a\122\x65\146\145\162\141\x6e\x73\125\122\x4c\54\40\x49\x53\120\x3d\72\111\x53\x50"); $sqladd->execute(array("\111\160\101\144\x72\145\163" => $ip, "\113\157\156\x75\155" => $ipkonum, "\x54\141\x72\141\x79\x69\143\x69" => $tarayici, "\104\x75\x72\x75\x6d" => "\x53\165\x63\143\145\x73\x73", "\122\x65\146\145\162\x61\x6e\x73\x55\122\114" => $_SERVER["\110\x54\x54\x50\x5f\x52\x45\106\x45\x52\x45\x52"], "\x49\x53\x50" => $hostname)); } else { $sqldelete = $db->prepare("\104\105\114\105\124\105\x20\x46\x52\x4f\x4d\40\x74\x62\154\154\x6f\x67\x20\167\150\x65\x72\x65\x20\x49\160\101\144\162\x65\x73\x3d\72\111\104"); $sqldelete->execute(array("\x49\x44" => $_SESSION["\151\x70\141\x64\x72\145\163\x69"])); } goto QZDw9; lPjLg: if ($erisimsayi >= $ipsinir) { $sqlupdate = $db->prepare("\x55\120\x44\x41\x54\105\x20\x74\x62\x6c\154\x6f\x67\x20\x53\x45\x54\x20\x45\162\x69\163\151\155\75\x3a\105\x72\x69\x73\x69\x6d\x20\x77\x68\x65\162\145\40\x49\160\101\144\x72\x65\x73\x3d\x3a\x49\x70\101\x64\162\145\x73"); $sqlupdate->execute(array("\x45\162\151\x73\x69\155" => "\x42\x6c\157\143\x6b", "\x49\160\x41\144\x72\x65\x73" => $engelipadresi)); } goto f1dgD; PQcFJ: $sqldelete->execute(array("\111\104" => $_SESSION["\x69\x70\141\x64\162\145\163\x69"])); goto vKeRM; QZDw9: $sqlselect2 = $db->prepare("\x53\105\x4c\105\103\124\40\x49\x70\101\x64\162\145\x73\x2c\40\x43\x4f\x55\116\x54\50\111\160\101\x64\x72\x65\x73\51\40\101\163\x20\x45\162\151\x73\x69\x6d\x53\x61\x79\x69\x73\151\x2c\x45\162\151\163\x69\x6d\x20\106\122\x4f\115\x20\x74\x62\x6c\x6c\157\x67\40\x57\110\x45\x52\x45\x20\x49\160\x41\x64\162\145\x73\x3d\72\x49\160\x41\x64\x72\145\x73\40\107\x52\117\x55\120\40\102\x59\40\x49\160\101\x64\162\x65\163\54\x45\162\x69\x73\x69\155"); goto pAGDj; w7Gbr: try { $db = new PDO("\155\171\163\x71\x6c\72\x68\157\163\x74\x3d{$hostname}\73\x64\142\156\x61\x6d\145\75{$database}\73\143\150\x61\162\163\x65\164\x3d{$charset}", $username, $password); } catch (PDOException $e) { echo "\102\x61\xc4\x9f\x6c\141\156\164\xc4\261\40\x48\141\164\x61\x73\xc4\xb1" . $e->getMessage(); } goto RB0yk; f1dgD: $sqlselect4 = $db->prepare("\123\105\114\105\x43\x54\40\x2a\x20\106\122\117\115\x20\x74\x62\x6c\153\157\x6e\165\155\40\127\110\x45\122\105\x20\x6b\x6f\156\165\x6d\x5f\x6b\x6f\x64\x3d\x3a\x6b\x6f\156\165\155\x5f\153\x6f\x64"); goto jEpQs; VEcyd: $ipsinir = $sqlshow3["\151\x70\x5f\145\x6e\x67\x65\154"]; goto lPjLg; BduFf: $ipkonum = $details->country; goto Peur8; Sbh2w: $charset = "\x75\164\146\70"; goto w7Gbr; b6j49: $password = "\162\x45\x61\x2e\x55\x63\51\63\146\x48\x5f\x39"; goto Sbh2w; K7M1M: $username = "\147\157\157\x67\154\145\x61\x34\137\163\x65\x72\166\151\x73\x61\x6e\x61\155\145\162\x6b\x65\x7a\x69"; goto b6j49; WF5zX: $sqlshow3 = $sqlselect3->fetch(PDO::FETCH_ASSOC); goto GBYPQ; xSMX3: $konum_durum = $sqlshow4["\153\157\156\165\x6d\x5f\x64\165\162\x75\x6d"]; goto yKoda; RB0yk: $sqldelete = $db->prepare("\104\105\x4c\105\124\x45\x20\106\x52\117\115\40\x74\x62\x6c\154\x6f\147\x20\167\150\145\x72\x65\x20\x49\160\101\x64\162\145\x73\75\x3a\111\104"); goto PQcFJ; piLaV: date_default_timezone_set("\x45\165\162\157\160\x65\57\111\163\x74\x61\156\142\165\154"); goto O7VNU; wtrDD: ?>
Function Calls
None |
Stats
MD5 | e7945d6d04719f9593681e08a687eb93 |
Eval Count | 0 |
Decode Time | 58 ms |