本帖最后由 alice148 于 2012-11-21 01:32 编辑
网址:http://haoshua123.com/member/login/
每次的hash2=这个值都不一样
这个值要如何获取。$MyOpen = _WinHttpOpen('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)')
$rContext = _WinHTTP_GetRespond($MyOpen, "http://haoshua123.com/images/vcode2.php", 4 + 2, 50000)
取验证码时,这里面没有这个值。hash2如何获取
用HttpWatch获取的内容
POST /member/login/ HTTP/1.1
Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, */*
Referer: http://haoshua123.com/member/login/
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: haoshua123.com
Content-Length: 279
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: vcode=277cFattlOdUZY4a7hGoZKSfOQQ2p2NqMLUOmiH9Xq0a%2BuH7XEIjLDr0YaJ4wBqjtSsCBLBkex3RXDvQRLAvD9u3uSuNtcjcgg; CNZZDATA4413119=cnzz_eid=9764224-1353428767-http%253A%252F%252Fhaoshua123.com%252Fmember%252Flogin%252F&ntime=1353428767&cnzz_a=1&retime=1353429964570&sin=none<ime=1353429964570&rtime=0
hash2=YmRhZVQ0VDhubzlXaWpreFRBNDhISkFoalJNbTgwN25wQ25EK3R6TUtRUitPU0RRR1dVb2ovZytkR1lOdkgrU1ZsVUg3aFVlQzRLeklhbmNZZw%3D%3D&referer=http%3A%2F%2Fhaoshua123.com%2Fmember%2Fforgotpwd%2F&username=alice148&password=75311893&vcode=2275&questionid=0&answer=&btnSubmit.x=48&btnSubmit.y=8 |