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

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

HTTP and Apache Roy T. Fielding eBuilt, Inc. The Apache Software Foundation
Fill in missing numbers or operations
Andrew Newbigging Vice President, Integrations Development
CS193H: High Performance Web Sites Lecture 16: Rule 13 – Configure ETags Steve Souders Google
CS193H: High Performance Web Sites Lecture 8: Rule 4 – Gzip Components
CS193H: High Performance Web Sites Lecture 3: HTTP and the Web 100 Performance Profile Steve Souders Google
Nick Feamster CS 3251: Computer Networking I Spring 2013
1 1  1 =.
Addition Facts
Zero Latency HTTP the comet technique. Who am I Tomcat Committer / ASF member Co-designed the Comet implementation Implemented NIO connector.
Copyright 2013, Mobile Commons, Inc. reach everyone, everywhere Keep your mobile subscribers in the know-on the go! April 3, 2013 Gloria Fong
A Comparison of HTTP and HTTPS Performance Arthur Goldberg, Robert Buff, Andrew Schmitt [artg, buff, Computer Science Department Courant.
HTTP Reading: Section and COS 461: Computer Networks Spring
Fun Fun Project One1 Building Your Very Own Web Server.
We are partners in learning. Name, Title Date
一层一层说网站 PYTHON WSGI 简介 及 常用中间件 张沈鹏 42qu.com 作者. 著名的洋葱.
Addition 1’s to 20.
Test B, 100 Subtraction Facts
Number bonds to 10,
Presenter: James Huang Date: Sept. 29,  HTTP and WWW  Bottle Web Framework  Request Routing  Sending Static Files  Handling HTML  HTTP Errors.
Troubleshooting using HTTP Headers
Web Server Sun Peng What is server - Question  First thing first! We need a definition: What is a server? ?
Introduction to Computing Using Python CSC Winter 2013 Week 8: WWW and Search  World Wide Web  Python Modules for WWW  Web Crawling  Thursday:
SE 370: Programming Web Services Week 4: SOAP & NetBeans Copyright © Steven W. Johnson February 1, 2013.
DEV034 -Web Applications, Introduction
Web technologies and programming cse hypermedia and multimedia technology Fanis Tsandilas April 3, 2007.
WWW, HTTP, GET, POST, Cookies Svetlin Nakov Telerik Corporation
Chapter 5 HTTP Request Headers. Content 1.Request headers 2.Reading Request Headers 3.Making a Table of All Request Headers 4.Sending Compressed Web Pages.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
DEV336. demo HTTP Packet Trace GET / HTTP/1.1 Accept: text/html, application/xhtml+xml, */* Accept-Language: en-US User-Agent: Mozilla/5.0 (compatible;
Lecture # 1 By: Aftab Alam Department Of Computer Science University Of Peshawar Internet Programming.
What’s Really Happening
Unique Number Parameter
Research of Web Real-Time Communication Based on WebSocket
Random Number Parameter
(Hypertext Transfer Protocols Headers)
Building Web Apps with Servlets
Web Basics: HTML and HTTP
HTTP – An overview.
The Hypertext Transfer Protocol
How does it work ?.
1993 version of Mosaic browser.
EMBEDDED WEB TECHNOLOGY
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
HTTP Protocol Specification
Random String Parameter
Introduction Web Environments
Debugging Your Website with Fiddler and Chrome Developer Tools
IE.
TCP/IP Networking An Example
HTTP Protocol.
Application HTTP.
HTTP, RESTful Web Services, HTTP and REST Tools: Postman, Fiddler
Date Time Parameter.
Uniform Resource Locators
CS320 Web and Internet Programming Cookies and Session Tracking
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
Uniform Resource Locators (URLs)
CS3220 Web and Internet Programming Cookies and Session Tracking
Hypertext Transfer Protocol
CS3220 Web and Internet Programming Handling HTTP Requests
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
The Application Layer: HTTP
Uniform Resource Locators

CS3220 Web and Internet Programming Cookies and Session Tracking
HTTP Hypertext Transfer Protocol
Uniform Resource Locators (URLs)
CSCI-351 Data communication and Networks
Presentation transcript:

Just for fun JavaQQ

Just for fun Linux Linus Torvalds Just for fun,

: HTTP Get

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

HTTP Get

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

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

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

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

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

JavaQQ2005 JavaQQ winrar qq jar QQ2005

QQ2007 ?

QQ2005 ? (C++ ) ( ) … Q

Get started,.

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

Lets go! VER=1.0&CMD=XXX&SEQ=XXX&UIN=X XX………… CMD SEQ, JavaQQ,SEQ UIN QQ

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 ?

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:

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

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:,,

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

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)

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

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=

Send Message: VER=1.0&CMD=CLTMSG&SEQ=XXX&UI N=XXX&UN=XXX&MG=XXX MG=XXX(utf-8)

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

: QQ,,

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

Other Actions: GetInfo AddToList Ack_AddToList DelFromList Finger Change_Stat Logout

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

The End