
协议
文章平均质量分 85
gtuu0123
这个作者很懒,什么都没留下…
展开
-
通过HTTP抓取QQ好友过程
/** * QQ邮箱登录流程(注意:要在一个HttpClient中完成,因为会保存cookie;否则必须传递cookie) * * 1. 取登录页 * http://mail.qq.com/cgi-bin/loginpage * * 2. 取验证码页(注意:取验证码时,服务器发送回一个名verifysession的cookie,这个在请求登录时还要用到) * h原创 2009-11-14 00:19:00 · 7724 阅读 · 7 评论 -
http借助tcp传输数据
客户端发送数据到服务器15:20:16.304473 00:22:19:4f:7a:09 > 00:22:19:4f:7c:f2, ethertype IPv4 (0x0800), length 622: IP 192.168.20.17.2513 > localhost.localdomain.9900: P 2733155024:2733155592(568) ack 800828764 win 65535 0x0000: 4500 0260 aabd 4000 7b06 8a6f c0原创 2010-08-13 21:03:00 · 911 阅读 · 0 评论 -
对tcp连接的第三次握手的分析
<br />数据如下:<br />15:20:16.303067 00:22:19:4f:7a:09 > 00:22:19:4f:7c:f2, ethertype IPv4 (0x0800), length 60: IP 192.168.20.17.2513 > localhost.localdomain.9900: . ack 800828764 win 65535<br /> 0x0000: 4500 0028 aabc 4000 7b06 8ca8 c0a8 1411 E..(..@原创 2010-08-13 21:02:00 · 953 阅读 · 0 评论 -
对tcp连接的第一次握手的分析
tcp连接的第一次握手============15:20:16.299527 00:22:19:4f:7a:09 > 00:22:19:4f:7c:f2, ethertype IPv4 (0x0800), length 62: IP 192.168.20.17.2513 > localhost.localdomain.9900: S 2733155023:2733155023(0) win 65535 0x0000: 4500 0030 aabb 4000 7b06 8ca1 c0a8 1原创 2010-08-13 20:49:00 · 4209 阅读 · 0 评论 -
对tcp连接的第二次握手的分析
<br />数据如下:<br />15:20:16.315251 00:22:19:4f:7c:f2 > 00:22:19:4f:7a:09, ethertype IPv4 (0x0800), length 62: IP localhost.localdomain.9900 > 192.168.20.17.2513: S 800828763:800828763(0) ack 2733155024 win 5840 <mss 1460,nop,nop,sackOK><br /> 0x0000:原创 2010-08-13 20:51:00 · 3906 阅读 · 0 评论 -
一次tcp连接及断开的抓包
<br />利用tcpdump对一次http请求进行抓包,以下是抓包结果,并会分几篇文章进行分析:<br /> <br />tcpdump -X -S -e -i eth1 /(src host 192.168.20.17 and not port 22/) or port 9900 <br /> <br />tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br />listening on eth1,原创 2010-08-13 20:45:00 · 1955 阅读 · 0 评论 -
飞信2008协议抓包(2)
(1)发送短信 发送: M fetion.com.cn SIP-C/2.0 F: 飞信号 I: 15 Q: 1 M T: sip:879561006@fetion.com.cn;p=370 N: SendCatSMS L: 3 ttt 接收: SIP-C/2.0 280 Send SMS OK T: sip:879561006@fetion.com.cn;p=370 I: 15 Q: 1原创 2010-04-11 21:16:00 · 1189 阅读 · 0 评论 -
飞信2008协议抓包(1)
本文是依据Fetion2008_3.5.1170版本的飞信进行的抓包 ============================================ (1)得到系统的配置信息 发送: POST /nav/getsystemconfig.aspx HTTP/1.1 User-Agent: IIC2.0/PC 3.5.1170 Host: nav.fetion.com.cn Content-原创 2010-04-11 17:42:00 · 3425 阅读 · 0 评论 -
Java利用MSNP协议取得MSN联系人
上一篇文章中介绍了怎样利用MSNP登录MSN,在登录后便可取联系人了,很简单。 参考文章:http://msnpiki.msnfanatic.com/index.php/MSNP13:Contact_Listhttp://msnpiki.msnfanatic.com/index.php/MSNP15:TicketTokens 在登录后,可以得到一个contacts.msn.原创 2010-02-27 15:33:00 · 2599 阅读 · 3 评论 -
Java利用MSNP协议登录MSN
请参见上一篇文章,登录MSN协议具体Java实现:命令序列:>代表结果1.连接DS(Dispatcher Server),得到NS(Notification Server)>>VER 1 MSNP18>>CVR 2 14.0.8089 14.0.8089 14.0.8089 http://msgruser.dlservice.microsoft.com/download/0/9/7/0原创 2010-02-27 14:36:00 · 3511 阅读 · 5 评论 -
MSN登录协议
MSNP15登录协议(也适用于MSNP18)http://msnpiki.msnfanatic.com/index.php/MSNP15:SSOhttp://www.codeproject.com/KB/IP/SSOwithMSNP15.aspx?msg=2677041http://www.cnblogs.com/iloveu/archive/2009/05/31/1493035.html登录原创 2010-02-27 14:19:00 · 1907 阅读 · 0 评论 -
利用HTTP取MSN联系人过程
利用HTTP取MSN联系人过程1.登录页http://login.live.com/可以得到登录提交参数和相应的post地址 2.登录参数login -- 用户名passwd -- 密码LoginOptions -- 登录选项,用值2即可type -- 为空即可PPFT -- 一个很长的字串,从input标签中取PPSX -- 一个短的字串,从input标签中取PwdPad -原创 2009-11-29 12:05:00 · 1343 阅读 · 0 评论 -
利用HTTP登录QQ群流程
/** * QQ群登录流程 * 1. 登录表单页是一个iframe,直接取得iframe地址即可 * http://ui.ptlogin2.qq.com/cgi-bin/login?appid=3000801&s_url=http%3A%2F%2Fqun.qq.com%2Fair%2F&f_url=loginerroralert&lang=2052&bgcolor=ffffff&sty原创 2009-11-21 16:11:00 · 6799 阅读 · 0 评论 -
tcp断开连接时的四次挥手
<br />因为tcp连接是双向的,因此需要四个包的传输,才能保证双方向的连接都能关闭<br /> <br />由服务端发出要关闭连接,发送syn+ack+fin(syn=2fbb ae27,ack=a2e8 a508)<br />15:20:21.352228 00:22:19:4f:7c:f2 > 00:22:19:4f:7a:09, ethertype IPv4 (0x0800), length 54: IP localhost.localdomain.9900 > 192.168.20.17.251原创 2010-08-13 23:16:00 · 1884 阅读 · 0 评论