1024论坛1024邀请码有什么用哪里有

1024,你懂的。
发布邀请码的时候总是会屏蔽几个字符,得一个一个试
本程序采用暴力穷举的办法,实现破解及自动注册
#encoding: utf-8
import requests
# requests: http://docs.python-requests.org/en/latest/
class CodeSerach1024():
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 = {'regname':'xxxxxxx',
'regpwd':'999999',
'regpwdrepeat':'999999',
'regemail':'',
'invcode':code,
'forward':'',
'step':'2'
r = requests.post(url=self.url,data=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 = CodeSerach1024(code)
reg.start()
raw_input()论坛,1024电影论坛,1024电影网,1024cl,1024电影下载,1024草溜播放器,草最新地址,1024小说
昨天&12:34
1024论坛-专注技术交流平台!提供:1024邀请码,1024电影,最新地址,1024资源免费下载等等服务的社区平台!
Powered by求论坛1024邀请码_百度知道
求论坛1024邀请码
各位大侠前辈,这一阵子1024上供敞垛缎艹等讹劝番滑在搞一个活动,注册迅雷会员送码,可是我发过去几次都没有回复,在1024上都晃悠几年了,技术版抢码功力很逊,希望各位前辈手头有多余的就行行好发我一个必当感谢!这边百度貌似悬赏金也没有,请勿嫌弃,谢谢!
邀请码请在这里私信给我好了,财富值我只有10全部给了,如果还有的话必定都给你的。
我有更好的答案
按默认排序
哥供敞垛缎艹等讹劝番滑们
这不是能求得来的 还注册迅雷送你也信!591上不定期放码1次2个我这只能有偿提供抱歉
再次祝你好运
你说的591是哪里 能否说明白一点啊
看看 偶详细的资料啊
你可以看我详细的资料,里面有获得方式的。
其他类似问题
邀请码的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁您还未登陆,请登录后操作!
1024的邀请码
积分倾囊相送
共有 2 位网友向您献上回答啦, 对答案满意?赶快给出你的好评,感谢他们吧!
,可是要不到。
您的举报已经提交成功,我们将尽快处理,谢谢!
大家还关注1024论坛邀请码有的话该怎么用?_百度知道
1024论坛邀请码有的话该怎么用?
提问者采纳
来这里休闲吧&#你还是16岁孩子啊,黄 金 城(&#8204d&#8204an&#8204gr.&#8204cn&#8204) 物超所值
提问者评价
其他类似问题
邀请码的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 1024论坛邀请码 的文章

 

随机推荐