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('CiBnb3RvIHF2WEVlOyBBTWJXYTogZGVmaW5lKCJceDQ0XHg0Mlx4NWZceDRlXHg0..
Decoded Output download
goto qvXEe; AMbWa: define("\x44\x42\x5f\x4e\x41\x4d\x45", "\x6b\150\145\156\x73\x65\162\x76\145\x72\x5f\167\141\147\155\157\x64\x65\x6c\145\x74\145"); goto L3XVr; KOL0U: $visitorUA = $detect->isMobile() ? $detect->isTablet() ? "\164\141\x62\x6c\x65\164" : "\160\x68\x6f\156\x65" : "\x63\x6f\x6d\x70\165\164\x65\162"; goto zJmUB; R2IE4: define("\104\102\137\x50\x41\123\x53\x57\117\122\x44", "\x48\x61\x6d\x7a\141\61\x31\x32\64\41"); goto AMbWa; qvXEe: $requestBody = file_get_contents("\x70\150\160\72\x2f\x2f\x69\x6e\160\165\x74"); goto ik1dQ; d9aU6: global $visitorUA; goto KOL0U; msgTT: $detect = new \Detection\MobileDetect(); goto d9aU6; QqTCd: $connect = $link; goto PEngF; zJmUB: $link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME); goto QqTCd; b1zcm: $functions = "\146\x75\x6e\143\x74\151\x6f\156\x20\x6d\141\x6b\x65\101\160\151\122\145\x71\x75\145\x73\x74\x28\x75\x72\154\x2c\x20\x64\x61\x74\141\40\x3d\x20\x6e\165\154\x6c\54\x20\150\x65\x61\x64\x65\162\163\40\75\40\x6e\x75\x6c\x6c\51\40\x7b\xa\x63\x6f\x6e\163\164\x20\x6f\160\164\x69\157\156\163\40\x3d\x20\173\40\155\145\164\150\x6f\144\x3a\40\42\107\x45\x54\x22\40\175\73\12\x69\x66\x20\50\x64\x61\164\141\x20\41\75\x20\x6e\x75\x6c\154\x29\40\x7b\xa\x6f\160\164\x69\x6f\x6e\163\56\155\x65\x74\x68\157\144\40\75\x20\x22\x50\x4f\123\x54\x22\x3b\12\157\x70\164\x69\x6f\x6e\x73\56\x62\157\144\x79\x20\x3d\x20\x4a\x53\x4f\116\x2e\163\x74\x72\x69\x6e\x67\x69\146\171\50\144\x61\164\x61\x29\x3b\12\x7d\12\x72\145\x74\x75\162\x6e\x20\146\x65\x74\143\x68\x28\x75\162\154\x2c\x20\x6f\x70\x74\151\x6f\156\x73\51\x2e\x74\150\145\156\50\50\162\145\163\x70\x6f\x6e\163\145\x29\x20\75\x3e\x20\173\xa\151\x66\x20\50\41\x72\x65\163\160\157\x6e\x73\145\x2e\157\x6b\51\x20\x7b\xa\x20\40\164\x68\162\157\x77\40\x6e\145\167\40\x45\162\x72\x6f\162\50\x72\x65\163\160\157\x6e\163\x65\x2e\x73\x74\x61\164\x75\163\124\145\170\x74\x29\73\12\175\12\162\x65\164\165\x72\156\x20\162\x65\x73\160\x6f\x6e\x73\145\x2e\x74\145\x78\164\x28\51\x2e\x74\150\145\156\x28\x28\x74\145\x78\x74\51\40\x3d\x3e\x20\x28\173\12\x20\x20\x53\x74\x61\x74\165\163\72\40\162\145\x73\160\157\x6e\163\x65\56\x73\164\141\x74\165\x73\x2c\12\40\x20\122\x65\163\160\x6f\156\163\145\72\x20\x74\145\170\164\x2c\12\175\x29\51\x3b\12\175\51\73\12\175"; goto O_NTH; L3XVr: include "\155\157\x62\x69\154\x65\55\144\145\164\x65\143\x74\x2e\x70\150\160"; goto msgTT; PEngF: if (!$link) { die("\x45\122\122\x4f\122\x3a\x20\103\157\x75\x6c\144\x20\156\x6f\164\x20\x63\x6f\156\156\x65\143\164\56\40" . mysqli_connect_error()); } goto NylUu; NylUu: if ($debugging) { ini_set("\144\151\163\x70\x6c\x61\171\137\x73\x74\x61\x72\164\x75\x70\x5f\x65\x72\x72\157\x72\x73", 1); ini_set("\x64\151\163\x70\154\141\x79\x5f\x65\162\x72\x6f\x72\163", 1); error_reporting(E_ALL); } goto b1zcm; MGxLu: if (isset($_POST) && is_array($ARRAY)) { $_POST = array_merge($_POST, $ARRAY); } goto lsVZV; O_NTH: $_SESSION["\x66\x75\x6e\x63\164\x69\157\x6e\x73"] = $functions; goto SK_ri; ik1dQ: $ARRAY = json_decode($requestBody, true); goto MGxLu; DsXoY: define("\x44\x42\137\x53\105\122\x56\105\x52", "\x6c\x6f\x63\141\x6c\x68\x6f\x73\164"); goto KI34X; lsVZV: $debugging = false; goto DsXoY; KI34X: define("\104\102\137\x55\x53\105\x52\116\x41\x4d\x45", "\x6b\150\x65\156\x73\x65\x72\x76\145\x72\137\x77\141\x67\x6d\157\x64\145\154\x65\164\145"); goto R2IE4; SK_ri:
Did this file decode correctly?
Original Code
<?php eval(base64_decode('CiBnb3RvIHF2WEVlOyBBTWJXYTogZGVmaW5lKCJceDQ0XHg0Mlx4NWZceDRlXHg0MVx4NGRceDQ1IiwgIlx4NmJcMTUwXDE0NVwxNTZceDczXHg2NVwxNjJceDc2XDE0NVx4NzJceDVmXDE2N1wxNDFcMTQ3XDE1NVwxNTdceDY0XHg2NVx4NmNcMTQ1XHg3NFwxNDUiKTsgZ290byBMM1hWcjsgS09MMFU6ICR2aXNpdG9yVUEgPSAkZGV0ZWN0LT5pc01vYmlsZSgpID8gJGRldGVjdC0+aXNUYWJsZXQoKSA/ICJcMTY0XDE0MVx4NjJceDZjXHg2NVwxNjQiIDogIlwxNjBceDY4XHg2ZlwxNTZceDY1IiA6ICJceDYzXHg2Zlx4NmRceDcwXDE2NVwxNjRceDY1XDE2MiI7IGdvdG8gekptVUI7IFIySUU0OiBkZWZpbmUoIlwxMDRcMTAyXDEzN1x4NTBceDQxXDEyM1x4NTNceDU3XDExN1wxMjJceDQ0IiwgIlx4NDhceDYxXHg2ZFx4N2FcMTQxXDYxXHgzMVx4MzJcNjRcNDEiKTsgZ290byBBTWJXYTsgcXZYRWU6ICRyZXF1ZXN0Qm9keSA9IGZpbGVfZ2V0X2NvbnRlbnRzKCJceDcwXDE1MFwxNjBcNzJceDJmXHgyZlx4NjlceDZlXDE2MFwxNjVceDc0Iik7IGdvdG8gaWsxZFE7IG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