找回密码
 加入
搜索
查看: 1945|回复: 2

麻烦帮忙看下怎么post下面抓的包

[复制链接]
发表于 2009-9-25 15:36:50 | 显示全部楼层 |阅读模式
POST /post.php?action=reply&fid=11&tid=22647391&extra=page%3D1&replysubmit=yes HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
Referer: http://www.19lou.com/forum-11-thread-22647391-302-1.html#pid289954946
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; TheWorld)
Host: www.19lou.com
Content-Length: 381
Connection: Keep-Alive
Cache-Control: no-cache
formhash=fc75a38c&isblog=&usesig=1&iswater=0&message=1%A1%A2%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%CE%BB%D3%DA%BA%BC%D6%DD%CF%F4%C9%BD%A3%AC%CF%E6%BA%FE%BE%B0%C7%F8%A1%A32009%C4%EA10%D4%C21%C8%D5%CA%C7%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%BF%AA%D4%B0%D2%BB%D6%DC%C4%EA%BC%CD%C4%EE%C8%D5%A1%A3+2%A1%A2%A1%B6%D0%A1%BA%A3%EB%E0PK+%BE%DE%CD%B7%BE%A8%A1%B7&subject=
/post.php?action=reply&fid=11&tid=22647391&extra=page%3D1&replysubmit=yes
这个地址补全了之后如果直接在浏览器里打开的话会提示:“你的请求无法提交,可能是因为你安装了防火墙软件,请设置其不要禁止来路信息后再尝试一下。”

Dim $oHttp = ObjCreate("Microsoft.XMLHTTP")
$poststr = "formhash=fc75a38c&isblog=&usesig=1&iswater=0&message=1%A1%A2%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%CE%BB%D3%DA%BA%BC%D6%DD%CF%F4%C9%BD%A3%AC%CF%E6%BA%FE%BE%B0%C7%F8%A1%A32009%C4%EA10%D4%C21%C8%D5%CA%C7%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%BF%AA%D4%B0%D2%BB%D6%DC%C4%EA%BC%CD%C4%EE%C8%D5%A1%A3+2%A1%A2%A1%B6%D0%A1%BA%A3%EB%E0PK+%BE%DE%CD%B7%BE%A8%A1%B7&subject="
$oHttp.Open("Post", "http://www.19lou.com/post.php?action=reply&fid=11&tid=22647391&extra=page%3D1&replysubmit=yes", False)
$poststr = "formhash=fc75a38c&isblog=&usesig=1&iswater=0&message=1%A1%A2%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%CE%BB%D3%DA%BA%BC%D6%DD%CF%F4%C9%BD%A3%AC%CF%E6%BA%FE%BE%B0%C7%F8%A1%A32009%C4%EA10%D4%C21%C8%D5%CA%C7%BA%BC%D6%DD%BC%AB%B5%D8%BA%A3%D1%F3%B9%AB%D4%B0%BF%AA%D4%B0%D2%BB%D6%DC%C4%EA%BC%CD%C4%EE%C8%D5%A1%A3+2%A1%A2%A1%B6%D0%A1%BA%A3%EB%E0PK+%BE%DE%CD%B7%BE%A8%A1%B7&subject="
$oHttp.setRequestHeader("Referer", "http://www.19lou.com/forum-11-thread-22647391-302-1.html#pid289954946")
$oHttp.setRequestHeader("Accept-Language", "zh-cn")
$oHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$oHttp.setRequestHeader("Accept-Encoding", "gzip, deflate")
$oHttp.setRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; TheWorld)")
$oHttp.setRequestHeader("Host", "www.19lou.com")
$oHttp.setRequestHeader("Cache-Control", "no-cache")
$oHttp.Send($poststr)

上面的代码提交之后没有反应,大虾帮忙看看是什么原因?
 楼主| 发表于 2009-9-25 15:38:28 | 显示全部楼层
应该与Cookie无关,以前不用加cookie提交之后也没问题,19楼改版之后就不行了!
发表于 2009-9-25 22:55:49 | 显示全部楼层
你抓的包不完整!




您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-25 02:35 , Processed in 0.074634 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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