找回密码
 加入
搜索
查看: 2310|回复: 1

[网络通信] 要高手指导,这个网站如果登陆。。

[复制链接]
发表于 2012-11-21 01:30:10 | 显示全部楼层 |阅读模式
本帖最后由 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&ltime=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
发表于 2012-11-21 23:35:10 | 显示全部楼层
我看了看网站登录那片区域的源码,如果用IE.au3里面的函数会不会比较简单有效一些呢?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-15 06:55 , Processed in 0.075302 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表