|
5精币
请大侠指点,此网页为什么按常规的post提交返回总是出问题?帮忙看看
网址:http://cp.sogou.com/regSucc.html(用户名注册)
抓包数据:POST /web/login HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
Referer: http://cp.sogou.com/reg.html
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Content-Type: application/x-www-form-urlencoded
UA-CPU: AMD64
Accept-Encoding: gzip, deflate
Host: account.sogou.com
Content-Length: 160
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: IPLOC=CN3310; SUV=00703EC83CBD7318582884A77216A398; GOTO=Af99044; _ga=GA1.2.1154624522.1479050407; _gat=1
username=gfgdgfgfgfdf&password=12345678&captcha=&autoLogin=0&client_id=2012&xd=http%3A%2F%2Fcp.sogou.com%2Fhtm%2Fjump.htm&token=215cba2c3c91be37a0d9d4f0a9249aab
|
最佳答案
查看完整内容
这个不难的,我提供个思路。
你先获取验证码
然后去找token,或许在页面源码中,或许在cookies里面。
然后用POST登录就行,他的账号密码都是明文的,很容易看出来。
|