6位纯数字密码字典
import os
pds=[]
rg=range(0,10)
for first in rg:
for second in rg:
for three in rg:
for four in rg:
for five in rg:
for six in rg:
num= "%s%s%s%s%s%s"%(first,second,three,four,five,six)
pds.append(num)
file_object = open('/pwdNum6.txt', 'w')
file_object.writelines(['%s%s' % (x,os.linesep) for x in pds])
file_object.close( )
上面脚本会生成 6位数字的所有密码字典 pwdNum6.txt
764




被折叠的 条评论
为什么被折叠?



