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 $_F=__FILE__;$_X='P1pDP0x2TA1LLkprdWpsTl90SmtOXSdzc1BsZHNMdkwnOw1LLkprdWpsTl90SmtOXS..
Decoded Output download
?><?php
include_once '../db.php';
include_once '../config.php';
include_once '../lang/'.$lang.'.php';
if (!isset($_shoutbox_)){header("Refresh:0;URL=index.php");die;}
$t_results=$maxmessages;
include_once '../style.php';
if ($r==''){$r='0';}
$tmp=mysql_query("SELECT * FROM v3chat_shoutbox WHERE username!='' AND message!='' ORDER BY id DESC LIMIT $r,$t_results");
$tmess = mysql_num_rows($tmp);if ($tmess <='0') {echo "<i>- no messages -</i><br><br><br><br><br>";}
while($i=mysql_fetch_array($tmp)) {
$new_message = ereg_replace("([^ \/]{21})","
",($i['message']));
$new_message = ereg_replace ("<img src=smilies/", "<img src=../smilies/", $new_message);
if ($datestamp=='true'){echo "<font color=$text1>".($i['date'])."</font><br><br>";}
echo "<font color=$text1><b>ShoutID</b>:</font> <font color=$text2>".($i['id'])."</font><br><font color=$text1><b>$lang5</b>:</font> <font color=$text2>".($i['username'])."</font><br><font color=$text1><b>$lang6</b>:</font> <font color=$text2>".$new_message."</font><br>";
echo "<font color=$text1><b>UserIP</b>:</font> <font color=$text2>".($i['userip'])."</font>";
echo "<br><br>";
echo "<div>";
echo "<a href=\"index.php?action=edit&id=".($i['id'])."\">Edit</a> | ";
echo "<a href=\"index.php?update=2&id=".($i['id'])."\">Delete</a> | ";
echo "<a href=\"index.php?update=4&userip=".($i['userip'])."\">Ban IP</a>";
echo "</div>";
if ($addline=='true'){echo "<hr width=100% size=1 color=$line>";}else{echo "<br>";}
}
$sql = "SELECT * FROM v3chat_shoutbox WHERE username!='' AND message!=''";
$result=mysql_query($sql);
$tnum_rows = mysql_num_rows($result);
$num_rows = mysql_num_rows($result);
$num_rows = ceil($num_rows/$t_results);
?>
<center><font color="<?=$text1?>"><b><? $rr = $r + 1;if ($tnum_rows == '0') {$rr = $rr-1;} echo "$rr-";$re = $r + $t_results;if ($re > $tnum_rows){echo "$tnum_rows";}else{echo "$re";}?> <?=$lang7?> <?=$tnum_rows?> <?=$lang6?>s</font></b><br>
<?
$pagea = $r - $t_results; if ($pagea < 0){$pagea = 0;}
if ($r != '0'){?>
<a href="?r=<?=$pagea?>" class=link title="<?=$lang8?>"><?=$lang8?></a><?}?>
<? $pageb = $r + $t_results; if ($r == 0){$r = $r - $t_results;}
if ($tnum_rows != '0'){
if ($pageb != $num_rows * $t_results){?>
<a href="?r=<?=$pageb?>" class=link title="<?=$lang9?>"><?=$lang9?></a></center>
<?}}?>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='P1pDP0x2TA1LLkprdWpsTl90SmtOXSdzc1BsZHNMdkwnOw1LLkprdWpsTl90SmtOXSdzc1BrdEpZLjNzTHZMJzsNSy5Ka3VqbE5fdEprTl0nc3NQdTBKM1AncyR1MEozcydzTHZMJzsNSy5ZXSghLnp6Tk0oJF96dnRqTWR0UV8pKVJ2TjBsTjkoImhOWTlOenY6Vjs1aHF3LkpsTlFzTHZMIik7bC5OO3gNSw1LJE1fOU56anVNenckYjBRYk56ejAzTno7DUsNSy5Ka3VqbE5fdEprTl0nc3NQek0ydU5zTHZMJzsNSw1LLlldKCQ5d3cnJylSJDl3J1YnO3gNSw1LJE1iTHdiMnppdV9pak45MigiMWFxYS8gXSpdQWhjPF1IRWt2ME1fenZ0ak1kdFFdRDRhaGFdanpOOUowYk4hdycnXW1UVV1iTnp6MDNOIXcnJ11jaFVhaF09cF0ubF1VYTEvXXFJPEkgXSQ5LCRNXzlOemp1TXoiKTtdDUskTWJOenpdd11iMnppdV9KamJfOXR9eigkTWJMKTsuWV0oJE1iTnp6XUN3J1YnKV1STmt2dF0iQy5aLV1KdF1iTnp6MDNOel0tQ1AuWkNkOVpDZDlaQ2Q5WkNkOVpDZDlaIjt4DUt9di51TigkLndiMnppdV9ZTk1rdl8wOTkwMigkTWJMKS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MEozCj9aQ1AwWkM/eD9aDUsmSmR6TDsNS0M/XSRMMDNOZF13XSQ5XStdJE1fOU56anVNejtdLlldKCQ5XXd3XVYpUiQ5XXddJDldLV0kTV85TnpqdU16O3hdDUsuWV0oJE1KamJfOXR9el0hd10nVicpUg1LLlldKCRMMDNOZF0hd10kSmpiXzl0fXpdKl0kTV85TnpqdU16KVI/Wg1LQzBddjlOWXciPzl3Qz93JEwwM05kP1oiXWt1MHp6d3UuSltdTS5NdU53IkM/dyR1MEozPj9aIlpDP3ckdTBKMz4/WkNQMFpDUGtOSk1OOVoNS0M/eHg/Wg==';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCc3dkNqNjRBLnlJbTlwMW5pUHVaSmV6Pmc4ay8wZDMgR0x7Cjx0T3doMj1zW2w1WH1EUmNLXWFGTVZOeG9ZcXJFV0hCUWZVU1RiJywnUGg8dTVIRmlHSUFyWVNbcS9sPm5YczlqUWNDYWJnVDdwXThNb3o9UnlCLmtkVTJ3V3tPCiBFNHQwZX0xZkxKM0t2Vng2RFpObScpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 13c47c08588de6b789053d1b664b986e |
Eval Count | 2 |
Decode Time | 99 ms |