日期:2014-05-16  浏览次数:20711 次

高手们,请教sign算法问题。。。谢谢大大们!

打开淘宝商品详情页后,抓包后会有类似这样的一个GET发包信息
http://count.tbcdn.cn/counter3?keys=DFX_200_1_9855818746,ICVT_7_9855818746,ICCP_1_9855818746,SCCP_2_64584149,ICE_3_feedcount-9855818746,ZAN_27_2_9855818746&inc=ICVT_7_9855818746&sign=6939f9d65fbdbd582cf7454340e684652e50&callback=TShop.mods.SKU.CounterCenter.saveCounts

其中的数字[9855818746]是商品的ID,想知道&sign=6939f9d65fbdbd582cf7454340e684652e50这个里面的参数是怎么算出来的。




16:01:59.881[126ms][total 126ms] Status: 200[OK]
GET http://count.tbcdn.cn/counter3?keys=DFX_200_1_9855818746,ICVT_7_9855818746,ICCP_1_9855818746,SCCP_2_64584149,ICE_3_feedcount-9855818746,ZAN_27_2_9855818746&inc=ICVT_7_9855818746&sign=6939f9d65fbdbd582cf7454340e684652e50&callback=TShop.mods.SKU.CounterCenter.saveCounts Load Flags[LOAD_NORMAL] Content Size[-1] Mime Type[application/x-javascript]
  Request Headers:
  Host[count.tbcdn.cn]
  User-Agent[Mozilla/5.0 (Windows NT 5.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2]
  Accept[*/*]
  Accept-Language[zh-cn,zh;q=0.5]
  Accept-Encoding[gzip, deflate]
  Connection[keep-alive]
  Referer[http://item.taobao.com/item.htm?id=9855818746&initiative_id=staobaoz_20120317]
  Response Headers:
  Server[Tengine]
  Date[Sat, 17 Mar 2012 08:01:57 GMT]
  Content-Type[application/x-javascript; charset=GB2312]
  Transfer-Encoding[chunked]
  Connection[close]



------解决方案--------------------
自已搞定了