码迷,mamicode.com
首页 > 其他好文 > 详细

人人网抓包

时间:2015-01-07 01:52:14      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

HTML 直接 post 的方式, 可以登录, 但不能访问其他页面

anonymid=i4laf18l-8zros3; domain=.renren.com; path=/; expires=Sun, 05-Jan-2020 13:02:50 GMT, _de=5625A2D4DDAC86CF4EE858EB2F9936BE5212E40F3D18115C; domain=.renren.com; path=/; expires=Fri, 01-Jan-2016 13:02:50 GMT, p=e7a758514faa16a815779e80692840229; domain=renren.com; path=/, first_login_flag=1; domain=renren.com; path=/, ln_uact=jiekunyang@gmail.com; domain=renren.com; path=/; expires=Thu, 05-Feb-2015 13:02:50 GMT, ln_hurl=http://hdn.xnimg.cn/photos/hdn421/20130116/0025/h_main_mR7o_f35400000030113e.jpg; domain=renren.com; path=/; expires=Thu, 05-Feb-2015 13:02:50 GMT, t=59a5ef25ef40a4557c302123e47524c29; domain=.renren.com; path=/, t=c5179f214f6d792b71572bf5a029d073; domain=renren.com; path=/xtalk/, societyguester=59a5ef25ef40a4557c302123e47524c29; domain=.renren.com; path=/, id=233330059; domain=.renren.com; path=/, xnsid=40a8cdc6; domain=.renren.com; path=/, loginfrom=syshome; domain=.renren.com; path=/

浏览器中取出, 可用于抓取的 cookie

anonymid=hydr1qdn-ycm6wf; _r01_=1; JSESSIONID=abcKEdr0RzVXX9ifHSzEu; XNESSESSIONID=abcuFh17apWB-7i2oLfFu; vip=1; jebe_key=d608be53-46cd-46e1-956f-9d676d9e907f%7Cbab427c3b218f86ecf273dbb561d5032%7C1414759689757%7C1%7C1414847516860; _urm_233330059=21461; __utma=151146938.533907379.1413692650.1417953641.1418563445.3; __utmc=151146938; __utmz=151146938.1418563445.3.2.utmcsr=renren.com|utmccn=(referral)|utmcmd=referral|utmcct=/539841008/profile; l4pager=1; depovince=GW; jebecookies=ee23956d-3149-40c0-8851-e323be7c47e0|||||; ick_login=d972250b-250e-4ece-9679-2c064a6763a6; _de=5625A2D4DDAC86CF4EE858EB2F9936BE5212E40F3D18115C; p=e7a758514faa16a815779e80692840229; ln_uact=jiekunyang@gmail.com; ln_hurl=http://hdn.xnimg.cn/photos/hdn421/20130116/0025/h_main_mR7o_f35400000030113e.jpg; t=59a5ef25ef40a4557c302123e47524c29; societyguester=59a5ef25ef40a4557c302123e47524c29; id=233330059; xnsid=406d9d3e; loginfrom=null; feedType=233330059_hot; jebe_key=d608be53-46cd-46e1-956f-9d676d9e907f%7Ccfd260eed7ad67c18ee70cb9ca48df4a%7C1420553265395%7C1

上述 cookie 简化至如下, 依旧可以成功抓取. 但缺少二者任何一个,则无法抓取

t=59a5ef25ef40a4557c302123e47524c29; id=233330059;

 

人人网抓包

标签:

原文地址:http://www.cnblogs.com/misspy/p/4207436.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!