您好,欢迎访问三七文档
QQ2011协议分析上图为QQ登录描述[NO.12011-04-0209:26:45093SEND]022107009129830BC8FB2902000000010101000064538A0F5342B1614AD3D994F064DBAD834C//teakeyF479863ABC010786B0C3//密文start608DF3F346D55B59B6AAB0479CCD2EEE00BA4190B640EDB296E1753FEF6F9D4CBEE1EF2E79B7//密文end//解密结果【00010000080401E0000003500000000100000CEB000000000000000000000000000000】03[02//包头2107//版本号0091//命令2983//包序号0BC8FB29//QQ号码:1977208730200000001010100006453//固定,QQ版本号不同则不同8A0F5342B1614AD3D994F064DBAD834C//0x91密钥//密文解密----------------------------------------------------0001//固定两字节0000080401E0//0091Data01(在后面的命令里面要用到的)000003500000000100000CEB//0091Data02(在后面的命令里面要用到的)000000000000000000000000000000//首次发送为15字节0//end密文解密-------------------------------------------------03//包尾][NO.22011-04-0209:26:45116RECEIVE]022107009129830BC8FB29[QQ号码:197720873]000000//密文------解密方式用发送包中的密钥解密617BD5EF7B47D2BA01A57B32ACCB50F07C136CABD55981A288ABA2D92BE1B423E15F3658FE0E3766B8B37F1CF9FDFF62B1BF41E458588703F4D64ED34C5B9D2BBA8FBE9A0946DE37F38FB6AF265805E44B330B7F71C27BBC//解密结果---------------------------【004D967B446FAD4FD60000000000000000003821B6660A709C2E6FC496062424ED894EB1F87AD592355AD2CF9122EBE0A35F71DBC88F7B610C59C1E4D862863A1A82CF6D402E5784FF89B800】03[02//包头2107//版本号0091//命令2983//包序号0BC8FB29//QQ号码:197720873000000//固定全为0//密文-------------------------------------------------------00//接触成功4D967B44//登录时间:2011/4/29:26:286FAD4FD6//登录IP地址:111.173.79.2140000000000000000//固定8字节00038//0091_Token长度:56字节21B6660A709C2E6FC496062424ED894EB1F87AD592355AD2CF9122EBE0A35F71DBC88F7B610C59C1E4D862863A1A82CF6D402E5784FF89B800//接触成功//end密文-----------------------------------------------------------03//包尾][NO.32011-04-0209:26:45117SEND]022107//版本号00BA//命令405C0BC8FB29//[QQ号码:197720873]0200000001010100006453//根据版本固定DACE3895604DC60DD5924FAB8FE703AF//teakey5E80CB67AEA7B4BEA45DD2B5A84E5BA8AB9D53DBE1B9E393976B25A2E3BE52C338F1D4FFFDA81E7610C1854A5AC25FF2F9A5B5AF51F029138BCDED88D1D782A2332931A00A0469FEF14FA370F323A5F452586842DE6B457FA3CE3E92A20C06B1081152D92CA54AAC//解密后结果-------------------------------------【00010000080401E0000003500000000100000CEB003821B6660A709C2E6FC496062424ED894EB1F87AD592355AD2CF9122EBE0A35F71DBC88F7B610C59C1E4D862863A1A82CF6D402E5784FF89B803000500000000000000】//end----------------------------------------------03[02//包头2107//版本号00BA//命令405C//包序号0BC8FB29//QQ号码:1977208730200000001010100006453//固定,QQ版本号不同则不同DACE3895604DC60DD5924FAB8FE703AF//0xBA密钥//解密后明文--------------------------------------------------------0001//固定两字节0000080401E0//0091Data01000003500000000100000CEB//0091Data020038//0091_Token长度:56字节21B6660A709C2E6FC496062424ED894EB1F87AD592355AD2CF9122EBE0A35F71DBC88F7B610C59C1E4D862863A1A82CF6D402E5784FF89B803000500000000000000//固定//end解密后明文---------------------------------------03//包尾][NO.42011-04-0209:26:45200RECEIVE]02//title2107//版本号00BA//命令405C//命令序列号0BC8FB29//[QQ号码:197720873]000000//好像是固定的来标识密文的开始吧6E7F3906DF42B324BE27BAFF235FDD9E038F422ABEE83BE8A031E79E24F1FC7231B6C229C7FDCE0CF961CA6306FDC354C296FFF3C827E35B976D815A67858BE3EC16778793C8E774EA0CC123DA903E20//解密后明文----------------------------------------------【030005000000000000386F93B7CE6E7857237618E7D8DC7A67C8FF655A2F1843A84FD2A60909942158EFE87A44B83ACB50541BFFCD00A686CBE8285C45BC06D17071】//end解密后明文-------------------------------------------------03[02//包头2107//版本号00BA//命令405C//包序号0BC8FB29//QQ号码:197720873000000//固定//解密后明文-------------------------------------------------03//验证结果:03表示成功,04表示需要验证码0005//固定00//是否需要验证码:0不需要,1需要00000000//验证码,需要验证码时为00000123,不需要时为全00038//00BA_Token长度:56字节6F93B7CE6E7857237618E7D8DC7A67C8FF655A2F1843A84FD2A60909942158EFE87A44B83ACB50541BFFCD00A686CBE8285C45BC06D17071//end解密后明文---------------------------------------------03//包尾][NO.52011-04-0209:26:45204SEND]02//title2107//版本号00DD//命令7233//命令序列号0BC8FB29//[QQ号码:197720873]0200000001010100006453//根据QQ版本固定B9EC62848097A23F1AA425F96A7D7B8A//teakey//密文5AC93AE62EC1F76439CC729506B15766DF3A5F95F39EF8B0C1D3166158A1CEC401D2BF23CFF6EC8AAA3053906E4548D50A99261A617E4BA36057C3D24D66AB44EBA558A89C494FED3DD0887593CF3DF99E4A738A345D7544D6797F9D267D0F80F65E292B3C2E8850A2E728EE9797E242200F4B8E116A433BD4D024616DB2924C3B6DF147296D2DE038962572004D0CBD478504A55C558F0D5E0185725EAEA2F30EF393FCC1B155A1106D3707CDBAD01EBC4622A7A3216CF169BAAB20A0522AEAEA02D7220A9275276E6587A59CD30EFE42A7B468037D320CA2BB2AF3E2124B270E05ECDBAA2892889344A6842D40CBF8709E026793033927A3B4896876F88C574DC3668EB7C85C4CA345614A5EE5175DB448ACF13021B25F918471BDD2525E309D42814B4E06D9A2F4D203A8A9A017B3A546D6078681F9018E9C14EA2914924D9B9FDA74808E550BEEB9E31F704BA6AE28348AB2E989F0A06F8E1F135519CD15119E4CC2E238DD9741C1DF939BC4B958723039C2BE9C158ADCC2AF44090F136B4A4B0AB409A08595BED7585EF3C88EE1DA742E1DFAE87AE79D41CB836D79A1AF0175DC20FF531C4FD8017B92223C6B4D91CA1F117DB4EA05A3BCA40CC49FE48ECA5A57D08BC0B134A1831FE7AEEFA52BC8D3ADCEC1F5B807FE408E8567FF9DE4C89D8DFBB8E5919652EB6CED48C6AE7284325CF1A55F0C08B81C18C369F7750F0F66AEDE2CCB037529168841CA8748CA0D93EF8AFE7E937A09A0BA997CBFBC8EBEB1117A1A674DD39CACF3EB649C154EC3A203E59C6E13BF3E92BC6FAB4
本文标题:Q2011协议分析
链接地址:https://www.777doc.com/doc-2847615 .html