Aluf

Admin name Finder

Jan 23rd, 2015
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. #!c:\python27\python.exe
  2. import requests as xsec, sys, re
  3. print 'coded by xsecurity -> @skype: xsecur1ty \npastebin :xTTG\n[c] sec4ever.com\nusage: python target.com path\n';
  4. target = 'http://'+sys.argv[1]+'/'
  5. path = sys.argv[2]
  6. user = '/ucp.php?go=fileuser&id=1'
  7.  
  8. source = xsec.get(target+path+user).text
  9. admin = re.findall(r'<div\s+class="uname">(.*?)</div>', source)
  10. if '<div class="uname">':
  11.         print target+'\n[+] username: '+admin[0]
  12. else:
  13.         print '[-] cannot find username'
Advertisement
Add Comment
Please, Sign In to add comment