当前位置:编程学习 > 网站相关 >>

请教高手GET问题,怎么分析数据包

http://www.wine9.com/zq_9  一元秒杀活动。


http://www.wine9.com/zq_9?act=question&r=0.11881943194344718


得到的秒杀答题题目是:
[font='Arial,Microsoft Yahei,Simsun,sans-serif']{"t":1,"i":1,"q":"出题的人是帅哥吗?(请以“是”“否”回答)"}

act的值代码是取题目,r代表题目号。不过不管怎么改r的值取得题目都一样,实际上有很多题




GET /zq_9?act=question&r=0.11881943194344718 HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://www.wine9.com/zq_9
Accept: application/json, text/javascript, */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: www.wine9.com
Connection: Keep-Alive
Cookie: Hm_lpvt_5601bc908eb0458025a72d0543061ed2=1314319922296; Hm_lvt_5601bc908eb0458025a72d0543061ed2=1314319800843; Hm_lpvt_63ac85846f30cff850a75a40568f34f5=1314319822046; auto_invite_type=0; is_auto_again=1; href=http%3A//www.wine9.com/fcheckout.html; rtime=3; ltime=1314319934687; cnzz_eid=72780879-1313708046-; Hm_lvt_63ac85846f30cff850a75a40568f34f5=1314319785296; rtime30043783=3; ltime30043783=1314319922328; cnzz_eid30043783=80214216-1313708868-; kf51_userid=1313713018500_3585; kf51_referrer=; cck_lasttime=1314314956562; cck_count=4; ECS[username]=host0007; PINWINE[history]=1788%2C1711%2C1781; cnzz_a2077649=147; sin2077649=none; cnzz_a30043783=105; sin30043783=; display=2; PINWINE_ID=baf27f5de858870ea1a67ba71c04d2731066db59; ECS[user_id]=224047; ECS[password]=dc483e80a7a0bd9ef71d8cf973673924; clientSessionID=322680; clickID=605269; hadSetPageLoaded=0
=========================================================================================================================================================================================
这是提交答题的http://www.wine9.com/zq_9?act=answer&a=2&i=11&r=0.09430063935203814


GET /zq_9?act=answer&a=2&i=11&r=0.09430063935203814 HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://www.wine9.com/zq_9
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: www.wine9.com
Connection: Keep-Alive
Cookie: Hm_lpvt_5601bc908eb0458025a72d0543061ed2=1314319922296; Hm_lvt_5601bc908eb0458025a72d0543061ed2=1314319800843; Hm_lpvt_63ac85846f30cff850a75a40568f34f5=1314319822046; auto_invite_type=0; is_auto_again=1; href=http%3A//www.wine9.com/fcheckout.html; rtime=3; ltime=1314319934687; cnzz_eid=72780879-1313708046-; Hm_lvt_63ac85846f30cff850a75a40568f34f5=1314319785296; rtime30043783=3; ltime30043783=1314319922328; cnzz_eid30043783=80214216-1313708868-; kf51_userid=1313713018500_3585; kf51_referrer=; cck_lasttime=1314314956562; cck_count=4; ECS[username]=host0007; PINWINE[history]=1788%2C1711%2C1781; cnzz_a2077649=147; sin2077649=none; cnzz_a30043783=105; sin30043783=; display=2; PINWINE_ID=baf27f5de858870ea1a67ba71c04d2731066db59; ECS[user_id]=224047; ECS[password]=dc483e80a7a0bd9ef71d8cf973673924; clientSessionID=322680; clickID=605269; hadSetPageLoaded=0 --------------------编程问答-------------------- 哇。受教了! --------------------编程问答-------------------- 哈哈,笑死我了,r=0.11881943194344718是随机数,ajax有可能会被缓存,所以带一个随机参数避免获取上一次重复的题目。 --------------------编程问答--------------------
补充:云计算 ,  云安全
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,