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 /*---------------------------------------------------------\ | aEWD..
Decoded Output download
<?php
/*---------------------------------------------------------\
| aEWDMU SCRIPT |
|----------------------------------------------------------|
| Copyright 2009, EWD Studio |
|----------------------------------------------------------|
| http://www.ewd-studio.net |
\---------------------------------------------------------*/
session_start();
require('include/initial.php');
require('requ.php');
if (!empty($_GET['id'])) {
$id = stripslashes($_GET['id']);
}
if (isset($id)) {
$sql = "SELECT news_title,news_context,news_date FROM EWDNews WHERE news_id='$id' order by news_id desc";
$result = mssql_query($sql);
if (mssql_num_rows($result) == '1') {
while ($row = mssql_fetch_array($result)) {
$notice = $row['news_context'];
$title = $row['news_title'];
$data = $row['news_date'];
}
print "
<table align=\"center\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"90%\">
<tr>
<td style=\"background-color: #1A1F24;\"><strong>$title</strong> - <span class=\"small\">[$data]</span></td>
</tr>
<tr>
<td style=\"background-color: #282D33; border:2px dashed #717E8E;\">$notice</td>
</tr>
</table>";
} else {
print "This news doesnt exist...";
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*---------------------------------------------------------\
| aEWDMU SCRIPT |
|----------------------------------------------------------|
| Copyright 2009, EWD Studio |
|----------------------------------------------------------|
| http://www.ewd-studio.net |
\---------------------------------------------------------*/
session_start();
require('include/initial.php');
require('requ.php');
if (!empty($_GET['id'])) {
$id = stripslashes($_GET['id']);
}
if (isset($id)) {
$sql = "S\105\x4c\105C\x54\x20\x6e\145w\x73\x5f\x74\151\164l\145\x2c\x6ee\x77s\x5fco\x6e\x74\145\x78t,\156\145\x77\163_\144\141t\x65\040\x46R\x4fM \105\127\x44N\x65w\x73 W\110\105\122\x45\040n\x65\x77s\137\151\144='$id'\040\157\162\x64\x65\162 \x62\171 n\x65w\163_\x69\x64 \144\145sc";
$result = mssql_query($sql);
if (mssql_num_rows($result) == '1') {
while ($row = mssql_fetch_array($result)) {
$notice = $row['news_context'];
$title = $row['news_title'];
$data = $row['news_date'];
}
print "\x0d\012\074t\141\x62\154\x65\040\x61\x6cig\156\x3d\"\x63\x65\156\x74\145r\"\040\142\x6f\x72\144\145\x72\075\"\x30\"\040c\145l\x6c\160\x61\144di\156\x67\075\"\063\"\040c\145l\154\163\160\x61\x63i\x6eg\x3d\"1\"\x20wi\x64\x74\150\x3d\"\071\x30\x25\"\076\015
<t\162\076\x0d\x0a\074\164\144\040st\171\154\x65\075\"ba\x63\x6bgr\157\165n\x64\055\143\157\154\157\x72\x3a \0431\x41\061F\x32\064\073\">\x3c\x73\x74\x72o\156g\x3e$title\074\057s\x74r\x6fn\147>\040\x2d\x20<s\160\141\156\040\143\154\141\163\163=\"\x73\155\x61l\x6c\">\x5b$data]<\057span\076\x3c\057\x74\x64>\x0d\012\x3c\057\x74r>\015
<t\162\x3e\x0d\012<td \x73t\171le\075\"\x62\141\143k\x67\162\157\165\x6e\144-\x63olo\162\072\040\043\x32\070\x32\x44\063\063\x3b\040\142\157rd\145r:\062\x70x\x20\144a\x73\150e\144 #\x371\067\1058\x45;\">$notice<\057\x74d\x3e
</t\x72\076
\x0a<\057ta\x62\154\145\076";
} else {
print "\x54\150is\x20ne\x77s\x20\144\x6f\x65s\x6et\x20\x65\x78\151\x73\x74\056\056\056";
}
}
Function Calls
| session_start | 1 |
Stats
| MD5 | eef37bb2e7901f4807e142a46d56aba5 |
| Eval Count | 0 |
| Decode Time | 51 ms |