VB如何用Inet1控件POST数据并得到返回值 100
如下是我用抓包软件抓的数据,麻烦高手按照下面的数据写代码。谢谢!!数据包流报告POST/cgi-bin/rosary0908_get_plant_info_self?gp...
如下是我用抓包软件抓的数据,麻烦高手按照下面的数据写代码。谢谢!!
数据包流报告
POST /cgi-bin/rosary0908_get_plant_info_self?gprand=0.8599048447795212 HTTP/1.1
Accept: */*
Accept-Language: zh-CN
Referer: http://qqgamecdnimg.qq.com/cdn/swf_0908/loading.swf?r=0.03776970819615394
x-flash-version: 10,1,85,3
Content-Type: application/x-www-form-urlencoded
Pragma: no-cache
Content-Length: 26
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Host: cgi.meigui.qq.com
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: pt2gguin=o0172762888; pgv_pvid=2819503946; o_cookie=172762888; adid=172762888; adSP=G7q9hA83D2iI64fk0ifIRWXDoxmseFxtETy6aqfzkMA=_49566_326830_1287404632_; adVer=3007; ac=1,030,021; ptcz=b569c9bae02e1f588d8b766720f3f03aa8f43131d40334b3fac9128c04fcf166; pgv_flv=10.0; pgv_r_cookie=1010112497974; ispai2_477348088=2; ispai2_962471206=2; uin_cookie=172762888; euin_cookie=BCBF55A2003C549B2355D2D9A79CFCC89696AEAD090C1EE5; ispai2_172762888=2; verifysession=h00cf91449d9caca8ff69f479749b4c0170624d9405270789f1dad0a1ecb79b05df75615ae6454491cd84471e074f5f1d16; uin=o0172762888; skey=@CZJOvXQaP; ptisp=ctc; pgv_info=ssid=s2948833708
selforfriend=0&benew0908=1 展开
数据包流报告
POST /cgi-bin/rosary0908_get_plant_info_self?gprand=0.8599048447795212 HTTP/1.1
Accept: */*
Accept-Language: zh-CN
Referer: http://qqgamecdnimg.qq.com/cdn/swf_0908/loading.swf?r=0.03776970819615394
x-flash-version: 10,1,85,3
Content-Type: application/x-www-form-urlencoded
Pragma: no-cache
Content-Length: 26
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Host: cgi.meigui.qq.com
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: pt2gguin=o0172762888; pgv_pvid=2819503946; o_cookie=172762888; adid=172762888; adSP=G7q9hA83D2iI64fk0ifIRWXDoxmseFxtETy6aqfzkMA=_49566_326830_1287404632_; adVer=3007; ac=1,030,021; ptcz=b569c9bae02e1f588d8b766720f3f03aa8f43131d40334b3fac9128c04fcf166; pgv_flv=10.0; pgv_r_cookie=1010112497974; ispai2_477348088=2; ispai2_962471206=2; uin_cookie=172762888; euin_cookie=BCBF55A2003C549B2355D2D9A79CFCC89696AEAD090C1EE5; ispai2_172762888=2; verifysession=h00cf91449d9caca8ff69f479749b4c0170624d9405270789f1dad0a1ecb79b05df75615ae6454491cd84471e074f5f1d16; uin=o0172762888; skey=@CZJOvXQaP; ptisp=ctc; pgv_info=ssid=s2948833708
selforfriend=0&benew0908=1 展开
展开全部
'<<首先看一下。确定了。他是post方式。那么参数都要写上就搞定了
对于底层的winsock需要你抓包的这些。格式都需要少一个就会出现error。然对于inet1只需要知道是post还是get方式。。字节大小那些都不用管
需要这个 cgi-bin/rosary0908_get_plant_info_self?gprand=0.8599048447795212
因为是post需要selforfriend=0&benew0908=1 提交的参数
还有一个都要的host后边的地址
我大概写一下。在外边
inet1.excute "host地址","POST",,"selforfriend=0&benew0908=1"
对于底层的winsock需要你抓包的这些。格式都需要少一个就会出现error。然对于inet1只需要知道是post还是get方式。。字节大小那些都不用管
需要这个 cgi-bin/rosary0908_get_plant_info_self?gprand=0.8599048447795212
因为是post需要selforfriend=0&benew0908=1 提交的参数
还有一个都要的host后边的地址
我大概写一下。在外边
inet1.excute "host地址","POST",,"selforfriend=0&benew0908=1"
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这是啥?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询