Presentation is loading. Please wait.

Presentation is loading. Please wait.

Just for fun JavaQQ. Just for fun Linux Linus Torvalds Just for fun,

Similar presentations

Presentation on theme: "Just for fun JavaQQ. Just for fun Linux Linus Torvalds Just for fun,"— Presentation transcript:

1 Just for fun JavaQQ

2 Just for fun Linux Linus Torvalds Just for fun,

3 : HTTP Get

4 GET / HTTP/1.1 Accept: */* Accept-Language: zh-cn Accept-Encoding: gzip, deflate If-Modified-Since: Fri, 16 Mar 2007 09:02:51 GMT If-None-Match: "aa242be0a967c71:216 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon) Host: Connection: Keep-Alive

5 HTTP Get

6 HTTP/1.1 404 Not Found Content-Length: 1308 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Fri, 11 May 2007 15:28:10 GMT.................... BODY………( )

7 :JavaQQ, PDA,, … : QQ JavaQQ Where to get it?

8 How to get started? QQ : Iris( ), ? :,..

9 ,how to get started? QQ java, ***.jar JAR(Java ARchive), java class(java ) ? ……

10 ! Class class, !, java, BTW: java,. QQ2005?

11 JavaQQ2005 JavaQQ2007 -- winrar qq jar QQ2005

12 QQ2007 ?

13 QQ2005 ? (C++ ) ( ) … Q

14 Get started,.

15 Some tips JavaQQ HTTP, POST Server: ) utf-8 ver 1.0(, Connection-close:


17 Login VER=1.0&CMD=Login&SEQ=XXX&UIN= XXX&PS=XXX&M5=1&LG=XXX&LC=932 6B87B234E7235 PS: MD5 LG:, en,cn LC,M5:, /QQ ?

18 Login Reply: VER=1.0&CMD=Login&SEQ=XXX&UIN= XXX&RES=0&RS=0 RES=0: RS=0: VER=1.0&CMD=Login&SEQ=XXX&UIN= XXX&RES=0&RS=1&RA=XXXX RS=1: RA=XXX:

19 Get Friend List: VER=1.0&CMD=List&SEQ=XXX&UIN=XX X&TN=160&UN=0 TN=160&UN=0:

20 Get Friend List Reply: VER=1.0&CMD=LIST&SEQ=XXX&UIN=X XX&RES=0&FN=1&SN=XX&UN=XXX,XX X,XXX,….. FN=1: SN=XX: UN=XX,XX,XX:,,

21 Get Online Friend List: VER=1.0&CMD=Query_Stat&SEQ=XXX& UIN=XXX&TN=50&UN=0 TN=50&UN=0:

22 Get Online Friend List Reply: VER=1.0&CMD=QUERY_STAT&SEQ=XX X&UIN=XXX&RES=0&FC=XXX,XXX,XXX, &FN=1&SN=XX&ST=XX,XX,XX,&UN=XX, XX,XX,&NK=XX,XX,XX, FC=XX:XX id, PC QQ. SN=XX:. ST=XX:,10,20,30 UN=XX: NK=XX: ( utf-8)

23 Get Message: VER=1.0&CMD=GetMsgEx&SEQ=XXX& UIN=XXX

24 Get Message Reply: VER=1.0&CMD=GETMSGEX&SEQ=XXX &UIN=XXX&RES=0&MN=X&MT=X,X,X,& UN=XX,XXX,XXXX,&MG=XXX,XXX,XXX X, MN=X: MT=X:,99,9 UN=X: MG=XX: (utf-8). BTW:MT=99&UN=10000&MG=30 10000..


26 Send Message Reply: VER=1.0&CMD=CLTMSG&SEQ=XXX&UI N=XXX&RES=0

27 : QQ,,

28 QQ, : POST HTTP/1.1 Content-Type:text/plain;charset=UTF-8 Content-length:100 VER=1.0&CMD=Login&SEQ=413&UIN=4 09621426&PS=21232f297a57a5a743894a 0e4a801fc3&M5=1&LC=9326B87B234E7 235

29 Other Actions: GetInfo AddToList Ack_AddToList DelFromList Finger Change_Stat Logout

30 ? JavaQQ PC QQ HTTP QQ, server, PC HTTP QQ Server. : JavaQQ, PC server,

31 The End

Download ppt "Just for fun JavaQQ. Just for fun Linux Linus Torvalds Just for fun,"

Similar presentations

Ads by Google