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

Decoded Output download

?>b'<?
session_start();
include "connect/connect.php";

$strSQL = "SELECT * FROM web_setting WHERE settingID = \'".$_GET["settingID"]."\' ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$objResult = mysql_fetch_array($objQuery);

$strSQL2="select * from windows_size where id=1";
$objQuery2 = mysql_query($strSQL2) or die ("Error Query [".$strSQL2."]");
$objResult2 = mysql_fetch_array($objQuery2);
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$objResult["title"];?></title><head>
<script>
function checkform ( form )
{

  if (form.username.value == "") {
    form.username.focus();
    return false ;
  }

   if (form.password.value == "") {
    form.password.focus();
    return false ;
  }

  return true ;
}

</script>
<head>
<body onLoad="document.getElementById(\'username\').select()">
<table width="<?=$objResult2["w"];?>" height="<?=$objResult2["h"];?>" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E5E5E5">
  
  <tr>
    <td height="5%" align="center" valign="top" bgcolor="E5E5E5"><?php include("header.php"); ?></td>
  </tr>
  
  <tr>
    <td align="center"  bgcolor="#E5E5E5">
    <table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tbody>
        <tr>
          <td bgcolor="#99CCFF"><div align="center"> - []</div></td>
        </tr>
        <tr>
          <td bgcolor="#99CCFF"><form action="user_login.php" method="post" name="form1" id="form1" onSubmit="return checkform(this);">
              <table align="center" border="0" cellpadding="0" cellspacing="0" width="90%">
                <tbody>
                  <tr>
                    <td><table align="center" border="0" cellpadding="5" cellspacing="1" width="100%">
                        <tbody>
                          <tr bgcolor="#DFE6F1">
                            <td width="45%" bgcolor="#E5E5E5"><div align="right"> : </div></td>
                            <td width="55%" align="left" bgcolor="#E5E5E5"><input name="username" type="text" id="username" style="width: 100%; height: 50;font: 30pt AngsanaUPC;color: #0000FF ;font-weight: bold" onKeyUp="populateSecondTextBox();" /></td>
                          </tr>
                          <tr bgcolor="#DFE6F1">
                            <td bgcolor="#E5E5E5"><div align="right"> : </div></td>
                            <td align="left" bgcolor="#E5E5E5"><input name="password" type="password" id="password" style="width: 100%; height: 50;font: 30pt AngsanaUPC;color: #0000FF ;font-weight: bold" onKeyUp="populateSecondTextBox();" /></td>
                          </tr>
                          <tr bgcolor="#FFEAF4">
                            <td colspan="2" align="center" bgcolor="#E5E5E5"><input name="submit_bt" value="" type="submit" style="width:120px;height:50px" />
                                <input name="reset_bt" value="" type="reset" style="width:120px;height:50px"/></td>
                          </tr>
                        </tbody>
                    </table></td>
                  </tr>
                </tbody>
              </table>
          </form></td>
        </tr>
        <tr>
          <td bgcolor="#99CCFF"></td>
        </tr>
      </tbody>
    </table></td>
  </tr>
</table>
</head>
</center>
</body>
</html>'

Did this file decode correctly?

Original Code

<?php @eval("?>".base64_decode("PD8NCnNlc3Npb25fc3RhcnQoKTsNCmluY2x1ZGUgImNvbm5lY3QvY29ubmVjdC5waHAiOw0KDQokc3RyU1FMID0gIlNFTEVDVCAqIEZST00gd2ViX3NldHRpbmcgV0hFUkUgc2V0dGluZ0lEID0gJyIuJF9HRVRbInNldHRpbmdJRCJdLiInICI7DQokb2JqUXVlcnkgPSBteXNxbF9xdWVyeSgkc3RyU1FMKSBvciBkaWUgKCJFcnJvciBRdWVyeSBbIi4kc3RyU1FMLiJdIik7DQokb2JqUmVzdWx0ID0gbXlzcWxfZmV0Y2hfYXJyYXkoJG9ialF1ZXJ5KTsNCg0KJHN0clNRTDI9InNlbGVjdCAqIGZyb20gd2luZG93c19zaXplIHdoZXJlIGlkPTEiOw0KJG9ialF1ZXJ5MiA9IG15c3FsX3F1ZXJ5KCRzdHJTUUwyKSBvciBkaWUgKCJFcnJvciBRdWVyeSBbIi4kc3RyU1FMMi4iXSIpOw0KJG9ialJlc3VsdDIgPSBteXNxbF9mZXRjaF9h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ICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgY29sc3Bhbj0iMiIgYWxpZ249ImNlbnRlciIgYmdjb2xvcj0iI0U1RTVFNSI+PGlucHV0IG5hbWU9InN1Ym1pdF9idCIgdmFsdWU9IuC5gOC4guC5ieC4suC4quC4ueC5iOC4o+C4sOC4muC4miIgdHlwZT0ic3VibWl0IiBzdHlsZT0id2lkdGg6MTIwcHg7aGVpZ2h0OjUwcHgiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBuYW1lPSJyZXNldF9idCIgdmFsdWU9IuC4iOC4muC4geC4suC4o+C4l+C4s+C4h+C4suC4mSIgdHlwZT0icmVzZXQiIHN0eWxlPSJ3aWR0aDoxMjBweDtoZWlnaHQ6NTBweCIvPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5Pg0KICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgPC9mb3JtPjwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDx0cj4NCiAgICAgICAgICA8dGQgYmdjb2xvcj0iIzk5Q0NGRiI+PC90ZD4NCiAgICAgICAgPC90cj4NCiAgICAgIDwvdGJvZHk+DQogICAgPC90YWJsZT48L3RkPg0KICA8L3RyPg0KPC90YWJsZT4NCjwvaGVhZD4NCjwvY2VudGVyPg0KPC9ib2R5Pg0KPC9odG1sPg=="));//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 304b2022427b541b34e481906e9bec6a
Eval Count 1
Decode Time 113 ms