1024请码 别和我说有偿补课自查报告我号忘了从新注一个扔盘里留个纪念 不要白不要禁只要码!

熊熊部落开放了,但我密码忘了,想从新注册个,谁能给个邀请码。谢谢了先。_百度知道1024,你懂的。发布邀请码的时候总是会屏蔽几个字符,得一个一个试本采用暴力穷举的办法,实现破解及自动注册初学制作,请大师不要见笑-:)
#encoding: utf-8
import requests
# HTTP LIB requests: http://docs.-requests.org/en/latest/
class CodeSearch1024():
def __init__(self,codeWithMask,parent=None):
self.url='http://***/register.php'
self.codeWithMask = codeWithMask
self.chars= 'abcdefghijklmnopqrstuvwxyz'
self.chars1 = 'abcdefghijklmnopqrstuvwxyz'
self.chars2 = ''
def getMaskCount(self):
for ch in self.codeWithMask:
if ch == '*':
count += 1
return count
def start(self):
maskCount = self.getMaskCount()
self.codeWithMask = self.codeWithMask.replace('*','%s')
if maskCount&3:
print(u'暂时不能处理大于3个隐藏字符的邀请码')
if maskCount == 0:
code = self.codeWithMask
result = self.doReg(code,0)
if result == 'found':
print('%s found!' % (code))
print('%s %s!' % (code,result))
elif maskCount == 1:
for ch in self.chars:
code = self.codeWithMask % (ch)
result = self.doReg(code,0)
if result == 'found':
print('%s found!' % (code))
print('%s %s!' % (code,result))
elif maskCount == 2:
for ch1 in self.chars:
for ch2 in self.chars:
code = self.codeWithMask % (ch1,ch2)
result = self.doReg(code,0)
if result == 'found':
print('%s found!' % (code))
print('%s %s!' % (code,result))
elif maskCount == 3:
for ch1 in self.chars:
for ch2 in self.chars:
for ch3 in self.chars:
code = self.codeWithMask % (ch1,ch2,ch3)
result = self.doReg(code,0)
if result == 'found':
print('%s found!' % (code))
print('%s %s!' % (code,result))
print('done!')
def doReg(self,code,n):
#可重试5次
return 'timeout'
postData = http://www.oschina.net/code/{'regname':'xxxxxxx',
'regpwd':'999999',
'regpwdrepeat':'999999',
'regemail':'',
'invcode':code,
'forward':'',
'step':'2'
r = requests.post(url=self.url,data=http://www.oschina.net/code/postData)
html = r.text.encode(r.encoding).decode('gbk')
if html.find(u'邀請碼錯誤')&-1:
return 'incorrect'
return 'found'
return self.doReg(code,n+1) #递归
code = raw_input(u'Please input a code: ') # e.g.: *8m*9754yupt307t
reg = CodeSearch1024(code)
reg.start()
raw_input()听说A站开放注册了,求个A站邀请码,求别说你注册了账号一直没用要给我,谢谢_百度知道求草榴邀请码~~我也想1024一下,哪位大神给个求草榴邀请码~~ - 爱问知识人
(window.slotbydup=window.slotbydup || []).push({
id: '2491531',
container: s,
size: '150,90',
display: 'inlay-fix'
求草榴邀请码~~我也想1024一下,哪位大神给个
~~你懂的
我也想1024一下,哪位大神给个
非要注册吗 不注册不是一样 回个贴那么重要啊
我也上草榴 真不错的网站 不过我也没注册
我有 但是为了你的健康 我不可以给你 怕你受不了 切记
大家还关注

我要回帖

更多关于 有偿家教 的文章

 

随机推荐