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 eval(base64_decode('CiBnb3RvIFQwWXVfOyBwUkU1TjogJGlwID0gaXNzZXQoJF9TRVJWRVJbIlwxMTBc..
Decoded Output download
goto T0Yu_; pRE5N: $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 pS9Of; aFglz: $sqladd->execute(array("IpAdres" => $ip, "Tarayici" => $tarayici, "Durum" => "Success", "ReferansURL" => $_SERVER["HTTP_REFERER"], "ISP" => $hostname)); goto jHhge; LAaeB: try { $db = new PDO("mysql:host={$hostname};dbname={$database};charset={$charset}", $username, $password); } catch (PDOException $e) { echo "Balant Hatas" . $e->getMessage(); } goto Yp47k; Yp47k: $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 lW0hW; lW0hW: $sqlselect = $db->prepare("SELECT * FROM tbllog WHERE IpAdres=:IpAdres and Erisim=:Erisim"); goto FxWso; gSwFx: error_reporting(0); goto RdAVY; NzASJ: $username = "googlea4_teknikservisgarantili"; goto xtXmb; T0Yu_: date_default_timezone_set("Europe/Istanbul"); goto gSwFx; R9BxI: if ($sqlselect->rowCount() > 0) { header("Location:https://www.googleadssaldiri.com/block.html"); } goto pRE5N; pS9Of: $tarayici = $_SERVER["HTTP_USER_AGENT"]; goto wrvaE; wrvaE: $hostname = gethostbyaddr($_SERVER["REMOTE_ADDR"]); goto j1wvn; RdAVY: $hostname = "89.252.138.99"; goto RBLGL; xtXmb: $password = "zcybEajv8na92LU"; goto gaKO2; FxWso: $sqlselect->execute(array("IpAdres" => $ip, "Erisim" => "Block")); goto R9BxI; gaKO2: $charset = "utf8"; goto LAaeB; RBLGL: $database = "googlea4_teknikservisgarantili"; goto NzASJ; j1wvn: $sqladd = $db->prepare("INSERT INTO tbllog SET IpAdres=:IpAdres, Tarayici =:Tarayici, Durum=:Durum, ReferansURL=:ReferansURL, ISP=:ISP"); goto aFglz; jHhge:
Did this file decode correctly?
Original Code
<?php eval(base64_decode('CiBnb3RvIFQwWXVfOyBwUkU1TjogJGlwID0gaXNzZXQoJF9TRVJWRVJbIlwxMTBcMTI0XDEyNFwxMjBceDVmXHg0M1x4NGNceDQ5XDEwNVwxMTZceDU0XDEzN1x4NDlcMTIwIl0pID8gJF9TRVJWRVJbIlx4NDhcMTI0XHg1NFx4NTBcMTM3XHg0M1x4NGNceDQ5XHg0NVx4NGVceDU0XHg1Zlx4NDlcMTIwIl0gOiAoaXNzZXQoJF9TRVJWRVJbIlx4NDhceDU0XHg1NFx4NTBceDVmXHg1OFwxMzdcMTA2XDExN1x4NTJcMTI3XDEwMVwxMjJcMTA0XDEwNVwxMDRcMTM3XHg0NlwxMTdceDUyIl0pID8gJF9TRVJWRVJbIlx4NDhceDU0XDEyNFwxMjBceDVmXHg1OFwxMzdcMTA2XHg0ZlwxMjJceDU3XHg0MVwxMjJcMTA0XHg0NVwxMDRceDVmXDEwNlwxMTdceDUyIl0gOiAkX1NFUlZFUlsiXHg1MlwxMDVceDRkXDExN1wxMjRcMTA1XHg1Zlx4NDFceDQ0XHg0NFwxMjIiXSk7IGdvdG8gcFM5T2Y7IGFGZ2x6OiAkc3FsYWRkLT5leGVjdXRlKGFycmF5KCJcMTExXDE2MFx4NDFcMTQ0XDE2MlwxNDVcMTYzIiA9PiAkaXAsICJcMTI0XHg2MVx4NzJceDYxXDE3MVwxNTFceDYzXHg2OSIgPT4gJHRhcmF5aWNpLCAiXHg0NFx4NzVceDcyXHg3NVx4NmQiID0+ICJceDUzXDE2NVwxNDNcMTQzXHg2NVx4NzNceDczIiwgIlwxMjJceDY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