问题描述
http://www.wine9.com/zq_9一元秒杀活动。http://www.wine9.com/zq_9?act=question&r=0.11881943194344718得到的秒杀答题题目是:[font='Arial,MicrosoftYahei,Simsun,sans-serif']{"t":1,"i":1,"q":"出题的人是帅哥吗?(请以“是”“否”回答)"}act的值代码是取题目,r代表题目号。不过不管怎么改r的值取得题目都一样,实际上有很多题GET/zq_9?act=question&r=0.11881943194344718HTTP/1.1x-requested-with:XMLHttpRequestAccept-Language:zh-cnReferer:http://www.wine9.com/zq_9Accept:application/json,text/javascript,*/*Accept-Encoding:gzip,deflateUser-Agent:Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.1;SV1)Host:www.wine9.comConnection:Keep-AliveCookie: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.09430063935203814GET/zq_9?act=answer&a=2&i=11&r=0.09430063935203814HTTP/1.1x-requested-with:XMLHttpRequestAccept-Language:zh-cnReferer:http://www.wine9.com/zq_9Accept:*/*Accept-Encoding:gzip,deflateUser-Agent:Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.1;SV1)Host:www.wine9.comConnection:Keep-AliveCookie: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有可能会被缓存,所以带一个随机参数避免获取上一次重复的题目。
解决方案四:
该回复于2012-03-08 13:38:53被版主删除