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("PD9waHAgaW5jbHVkZV9vbmNlICIuLi9tb2R1bGUvY29uc2V0LnBocCI7aWY..
Decoded Output download
?>b'<?php include_once "../module/conset.php";if(session_id()==\'\')session_start();if(!isset($_SESSION[\'ssid\'])){session_destroy();header("Location: ../index.php");}$sql1="SELECT COUNT(*) FROM wdcon";$rs1=odbc_exec($conn4,$sql1);$rc1=odbc_fetch_into($rs1,$mycount1);$reccount1=$mycount1[0];if($reccount1>0){$sql2="SELECT * FROM wdcon";$rs2=odbc_exec($conn4,$sql2);$r2=odbc_fetch_array($rs2);$enddt=$r2[\'enddt\'];$ep=$r2[\'ep\'];if($ep){session_unset();session_destroy();die("Session cleared or unexpected errors happened.");}else{if(strtotime(date(\'d-m-Y\'))>=strtotime($enddt)){odbc_exec($conn4,"UPDATE wdcon SET ep = 1");session_unset();session_destroy();die("Session cleared or unexpected errors happened.");}}} ?>'
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PD9waHAgaW5jbHVkZV9vbmNlICIuLi9tb2R1bGUvY29uc2V0LnBocCI7aWYoc2Vzc2lvbl9pZCgpPT0nJylzZXNzaW9uX3N0YXJ0KCk7aWYoIWlzc2V0KCRfU0VTU0lPTlsnc3NpZCddKSl7c2Vzc2lvbl9kZXN0cm95KCk7aGVhZGVyKCJMb2NhdGlvbjogLi4vaW5kZXgucGhwIik7fSRzcWwxPSJTRUxFQ1QgQ09VTlQoKikgRlJPTSB3ZGNvbiI7JHJzMT1vZGJjX2V4ZWMoJGNvbm40LCRzcWwxKTskcmMxPW9kYmNfZmV0Y2hfaW50bygkcnMxLCRteWNvdW50MSk7JHJlY2NvdW50MT0kbXljb3VudDFbMF07aWYoJHJlY2NvdW50MT4wKXskc3FsMj0iU0VMRUNUICogRlJPTSB3ZGNvbiI7JHJzMj1vZGJjX2V4ZWMoJGNvbm40LCRzcWwyKTskcjI9b2RiY19mZXRjaF9hcnJheSgkcnMyKTskZW5kZHQ9JHIyWydlbmRkdCddOyRlcD0kcjJbJ2VwJ107aWYoJGVwKXtzZXNzaW9uX3Vuc2V0KCk7c2Vzc2lvbl9kZXN0cm95KCk7ZGllKCJTZXNzaW9uIGNsZWFyZWQgb3IgdW5leHBlY3RlZCBlcnJvcnMgaGFwcGVuZWQuIik7fWVsc2V7aWYoc3RydG90aW1lKGRhdGUoJ2QtbS1ZJykpPj1zdHJ0b3RpbWUoJGVuZGR0KSl7b2RiY19leGVjKCRjb25uNCwiVVBEQVRFIHdkY29uIFNFVCBlcCA9IDEiKTtzZXNzaW9uX3Vuc2V0KCk7c2Vzc2lvbl9kZXN0cm95KCk7ZGllKCJTZXNzaW9uIGNsZWFyZWQgb3IgdW5leHBlY3RlZCBlcnJvcnMgaGFwcGVuZWQuIik7fX19ID8+")); ?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 9a93078e03835e745759958b595eb064 |
Eval Count | 1 |
Decode Time | 50 ms |