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('requ.php');
require('include/internal.php');
require('include/config.php');
if (logged()) {
$user_login = $_SESSION['member'];
$q = stripslashes($_GET["q"]);
echo "<script>document.getElementById(\"response\").style.display='none';</script>";
if ($q == "Chose Character") {
echo '<div id="txtPoint"></div>';
} else {
$sql = "SELECT Name, Class, Resets, GReset FROM Character WHERE accountid='$user_login' and Name = '$q'";
$result = mssql_query($sql);
echo "<br><div id=\"response\"></div><br><form name=\"fspecial\" id=\"fspecial\">";
echo "<table align='center' width='480'>
<tr>
<th width='100'>Name</th>
<th width='130'>Class</th>
<th width='20'>RR</th>
<th width='20'>GR</th>
<th width='70'>ResetStat</th>
<th width='70'>BuyFULL</th>
<th width='70'>3rdClass</th>
</tr>";
while ($row = mssql_fetch_array($result)) {
echo "
<tr>
<td>" . $row['Name'] . "</td>
<td>" . $classhort[$row['Class']] . "</td>
<td>" . $row['Resets'] . "</td>
<td>" . $row['GReset'] . "</td>
<td>
<input type=\"hidden\" name=\"sname\" id=\"sname\" value=\"" . $row['Name'] . "\" />
<input type=\"hidden\" name=\"kla\" id=\"kla\" value=\"" . $row['Class'] . "\" />
<input type=\"button\" value=\"ResetStat\" class=\"buttons\" name=\"resstat\" id=\"resstat\" onclick=\"new Ajax.Updater('response', 'resetstat.php', {method: 'post', asynchronous:true, parameters:Form.serialize(document.fspecial)});\" />
</td>
<td>
<input type=\"button\" value=\"BuyFULL\" class=\"buttons\" name=\"buyfull\" id=\"buyfull\" onclick=\"new Ajax.Updater('response', 'buyfull.php', {method: 'post', asynchronous:true, parameters:Form.serialize(document.fspecial)});\" />
</td>
<td>
<input type=\"button\" value=\"3rdClass\" class=\"buttons\" name=\"thirdclass\" id=\"thirdclass\" onclick=\"new Ajax.Updater('response', 'evo3rd.php', {method: 'post', asynchronous:true, parameters:Form.serialize(document.fspecial)});\" />
</td>
</tr>";
}
echo "</table></form>";
}
} else {
echo "Your session expired, please login.";
}
?>
Did this file decode correctly?
Original Code
<?php
/*---------------------------------------------------------\
| aEWDMU SCRIPT |
|----------------------------------------------------------|
| Copyright 2009, EWD Studio |
|----------------------------------------------------------|
| http://www.ewd-studio.net |
\---------------------------------------------------------*/
session_start();
require('requ.php');
require('include/internal.php');
require('include/config.php');
if (logged()) {
$user_login = $_SESSION['member'];
$q = stripslashes($_GET["\161"]);
echo "\x3c\163cr\151\x70t>\144\x6fc\x75m\145\x6et\056\147\145\164\105\154\145men\x74\102\171\111d(\"re\x73\x70o\156s\x65\")\056s\x74\x79le\x2ed\x69\x73\160l\x61\x79\x3d'none'\x3b\074\x2f\x73c\x72\x69\160\164>";
if ($q == "\103\x68ose\040\103h\141\x72\141\x63\164er") {
echo '<div id="txtPoint"></div>';
} else {
$sql = "\x53EL\x45\x43\124\x20\x4e\x61m\145\054 \103\x6cas\x73,\x20R\145\x73\x65\x74\x73\x2c\040G\122\x65\x73\x65\164\040FROM\x20\103ha\162\141\x63t\x65r\x20W\x48\105\122\105 a\x63c\x6f\x75\x6e\164id='$user_login' \x61\156\x64\040\x4e\x61me\x20= '$q'";
$result = mssql_query($sql);
echo "\x3cb\x72>\074\144iv\x20\151\x64\075\"\162\145s\x70\157\x6e\x73\145\">\074\057\144i\166><br\076\x3c\x66\x6f\162m\040n\x61\x6d\145\075\"f\163\x70ec\151a\x6c\"\x20\x69d\075\"\146\163p\x65\x63\x69al\"\076";
echo "\x3c\164\141\142le al\151\147\156\075'\143ent\x65\162' \x77i\144\x74\x68\x3d'\x348\060'\x3e\x0d\012\x3ct\x72\x3e
\012\x3c\164\x68 wid\164\150\075'\0610\060'\076\116\x61\155\x65\x3c/\164\x68>
\x0a<\164\150 w\151\x64th\075'\x31\x330'>C\x6ca\x73\163<\057\x74\150\076\015
<\x74h \x77\x69dth='\x320'\076\122\x52\074\x2fth\076\x0d\012\x3c\x74\150\x20\167\151\144t\x68='20'>G\122\x3c/th\x3e\x0d\012\x3ct\150\040w\151\x64\x74h='7\060'\x3e\122\x65\x73e\x74S\x74\x61\x74\074\057t\150\x3e\015\x0a\074\164\x68\040\167\x69dt\x68='\067\x30'\x3e\x42\165\171\x46UL\114\074/t\150\076
\012\x3c\164\150\040\x77\x69\x64\164\150\x3d'\x370'\076\063r\144\103\x6c\141s\163\x3c\x2f\x74\150\x3e\015
\x3c\x2f\x74\x72\076";
while ($row = mssql_fetch_array($result)) {
echo "\015
<\164r\x3e
\074\164\x64\076" . $row['Name'] . "\074\x2f\x74d>
\012<t\x64>" . $classhort[$row['Class']] . "\074\057\164\x64>\015\x0a<\x74\x64>" . $row['Resets'] . "\x3c\057\164\x64\x3e\x0d\012<\x74\144\x3e" . $row['GReset'] . "\074\057t\x64\076\015
\074\x74\144\x3e
\074\151np\165\x74\x20\x74\x79\x70\145\x3d\"hi\x64\144\x65\156\"\040\x6e\x61m\x65\075\"\163\x6ea\155e\"\x20\151d\075\"s\156\x61\x6de\" \x76\141l\165\x65\x3d\"" . $row['Name'] . "\"\040\x2f>\015
\074i\156\160u\x74 typ\x65\x3d\"\150\151d\x64\x65\156\"\x20\156a\155\145\x3d\"\153\x6ca\" \151\144\x3d\"\153\154\x61\"\x20v\141l\x75e=\"" . $row['Class'] . "\" \x2f\076
\x0a\074\x69n\x70\165t\040\x74y\x70e=\"\x62\165\164\164o\156\"\040\x76\141\154\x75\145=\"\x52\x65\x73\x65\x74\123\x74a\x74\" c\154ass\x3d\"\142\x75t\164\x6fn\163\"\x20\156\141m\145\075\"r\x65s\163ta\164\"\x20\x69\x64=\"re\163s\164\141t\"\x20o\156cl\151\x63k\075\"\x6e\x65\x77\040\101\152\141\x78\056\125pd\141\164\145\x72('re\163p\x6f\x6es\x65'\x2c\x20'res\145\x74\x73t\141\x74.\x70hp'\054\x20\173\155e\x74\x68\157d: '\160\157\x73\x74',\040\141\163\171\156\x63\150\162o\x6eo\165\163:\x74\162ue\054\x20p\x61r\141me\x74\145\162\163\x3a\106\157r\155\x2e\163\145r\x69\x61\x6c\151z\145\x28\x64o\143\x75m\x65\156t\x2ef\x73\x70\145\x63i\x61l\x29\175\051\073\"\040\057>\015\012<\057\x74\144>\x0d
\074\x74d\x3e\x0d
\x3c\x69n\x70\x75\x74\x20\164\x79\160\145\075\"but\x74o\156\"\040\166\141\154u\x65=\"\102\165\x79F\125LL\" \143\154\141\163s\x3d\"\x62u\164\164o\x6e\x73\" \156am\x65=\"\142\x75yfu\x6c\x6c\" id=\"b\x75\171fu\154\154\"\x20o\156\143\154i\x63k=\"\x6e\145\x77 \101\x6a\141\170.\x55\x70\x64\x61\164\x65r('re\x73\160\157n\163\x65'\x2c\x20'\142\x75\171\x66\x75\x6cl\056\160\x68\x70'\054\x20{\x6d\x65\x74\x68\x6f\144: 'p\157\163\164',\040\141s\x79n\x63\150\x72\157\156o\x75\x73\072\164r\x75e\x2c\x20\160a\162a\155\x65t\x65r\x73\072\106\157r\x6d\056\x73\145\162\x69a\154ize\050\144\x6fcu\x6d\145\x6e\x74\056f\x73\x70\x65c\151\x61\x6c\x29\175\x29\x3b\"\040\057\076\x0d\x0a\x3c/\x74\x64>\x0d
\x3c\164\144\076
<\151n\x70\x75\x74\040t\x79\160e\075\"\x62\x75t\x74\x6f\156\" va\x6cu\145=\"\x33\162\x64\103\x6c\x61s\163\"\x20\143\x6ca\163s=\"\x62\x75t\164on\163\" n\x61m\x65\075\"\164hir\x64\143\154\141s\x73\"\040\151\144=\"t\x68i\x72dc\154a\x73\163\"\040\x6fn\143\154\x69c\x6b\x3d\"n\145w\x20\101\152a\x78\x2e\125\160\x64\141t\145\x72('\162\145s\160ons\x65'\x2c\x20'\145\166\157\x33rd\056\x70\150\160'\054\x20\173\155et\x68\x6f\x64\072\040'\160o\163\164'\054 \141\163\171\156\143\150\x72o\x6e\157\x75\163\072\164\x72\x75e\x2c\040\x70a\162\x61\x6d\145\x74\145\x72s:\106\157\162\155.\x73\x65r\x69\141l\151ze(d\157\143\x75m\x65\156t\056\x66\163\160e\143\151\141\x6c)}\x29\073\"\040/\076
\x3c/t\144\076\015\012\x0d\012\074\x2f\x74\162\076";
}
echo "\074\x2ft\x61\142l\x65\x3e</\146\x6fr\x6d\076";
}
} else {
echo "\131\157u\162\x20s\x65s\163\151\157\156 \145\x78p\x69\162\x65\144\054 p\154\145a\x73\x65 \154\x6f\x67in\x2e";
}
Function Calls
session_start | 1 |
Stats
MD5 | 64bdf4a37b744d9e854b82045eb7f704 |
Eval Count | 0 |
Decode Time | 35 ms |