Skip to content

Instantly share code, notes, and snippets.

@jmikola
Created May 22, 2014 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmikola/c870a8e384d3448edb69 to your computer and use it in GitHub Desktop.
Save jmikola/c870a8e384d3448edb69 to your computer and use it in GitHub Desktop.
php[tek] ReactPHP chat server
$ telnet 192.168.13.14 2014
Trying 192.168.13.14...
Connected to 192.168.13.14.
Escape character is '^]'.
hello
192.168.12.221: ohai
192.168.13.89: GET / HTTP/1.1
Host: 192.168.13.14:2014
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6,sv;q=0.4
192.168.15.112: hello!
192.168.15.112: GET / HTTP/1.1
Host: 192.168.13.14:2014
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/538.35+ (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14
Accept-Language: en-us
DNT: 1
Connection: keep-alive
192.168.15.3:
192.168.12.221: Hello web browsers!
192.168.13.132: lol
192.168.12.221: node.js roolz; php droolz
192.168.15.112: GET / HTTP/1.1
Host: 192.168.13.14:2014
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/538.35+ (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14
Accept-Language: en-us
DNT: 1
Connection: keep-alive
192.168.12.233: te192.168.15.3: nice
192.168.12.233: st192.168.12.233:
192.168.15.112:
192.168.15.112:
192.168.15.112: test
192.168.15.112: Is this working?
192.168.13.207: test
192.168.13.207: 192.168.15.3:
192.168.15.3: 192.168.13.121: GET / HTTP/1.1
Referer:
User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Cookie:
Accept-Encoding: identity
Host: 192.168.13.14:2014
Connection: Keep-Alive
192.168.13.132: MEEP MEEP
192.168.15.142: ) ) ( (
192.168.15.142: ( /( ( /( )\ ) )\ )
)\()) )\()) (()/((()/(
((_)\ ((_)\ ___ /(_))/(_))
_((_) ((_)|___|(_)) (_))
| \| | / _ \ |_ _|| _ \
| .` || (_) | | | | _/
|_|\_| \___/ |___||_|
Year 2014, ASCII still Sexy.
192.168.12.221:
192.168.13.132: wWWWw
|o o|
| O |
|(")|
/ \X/ \
| V |
192.168.13.132: | | |
192.168.12.221: 8888888888 888 88888
88 88 88 88 88 88
8888 88 88 88 88888
88 88 888888888 88 88
88888888 88 88 88 88 888888
88 88 88 888 88888 888888
88 88 88 88 88 88 88 88
88 8888 88 88 88 88888 8888
888 888 888888888 88 88 88
88 88 88 88 88 8888888
192.168.13.121: GET / HTTP/1.1
Referer:
User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Cookie:
Accept-Encoding: identity
Host: 192.168.13.14:2014
Connection: Keep-Alive
192.168.13.132: 192.168.15.142: 192.168.12.233: 192.168.13.132:
192.168.13.132: 192.168.13.132:
192.168.12.233: 192.168.15.142: 192.168.12.233: 192.168.15.142: 192.168.13.132: 192.168.13.132: 192.168.13.121: GET / HTTP/1.1
Referer:
User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Cookie:
Accept-Encoding: identity
Host: 192.168.13.14:2014
Connection: Keep-Alive
192.168.15.142:
.
192.168.15.142: ) ) ( (
( /( ( /( )\ ) )\ )
)\()) )\()) (()/((()/(
((_)\ ((_)\ ___ /(_))/(_))
_((_) ((_)|___|(_)) (_))
| \| | / _ \ |_ _|| _ \
| .` || (_) | | | | _/
|_|\_| \___/ |___||_|
192.168.15.142: Year 2014, ASCII still Sexy.
192.168.13.121: GET / HTTP/1.1
Referer:
User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Cookie:
Accept-Encoding: identity
Host: 192.168.13.14:2014
Connection: Keep-Alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment