Skip to content

Instantly share code, notes, and snippets.

@cuberri
Last active December 19, 2015 17:59
Show Gist options
  • Select an option

  • Save cuberri/5995297 to your computer and use it in GitHub Desktop.

Select an option

Save cuberri/5995297 to your computer and use it in GitHub Desktop.
# tcpdump -r getversion.pcap -X -n | grep -B6 -A34 "ERY_STRINGreques" | tee getversion.req
20:58:05.110369 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [P.], seq 1:577, ack 1, win 8198, options [nop,nop,TS val 3575215 ecr 3575215], length 576
0x0000: 4500 0274 0993 4000 4006 30ef 7f00 0001 E..t..@.@.0.....
0x0010: 7f00 0001 9c8c 2328 3f56 843f 948e 9276 ......#(?V.?...v
0x0020: 8018 2006 0069 0000 0101 080a 0036 8daf .....i.......6..
0x0030: 0036 8daf 0101 0001 0008 0000 0001 0000 .6..............
0x0040: 0000 0000 0104 0001 0216 0200 0c1f 5155 ..............QU
0x0050: 4552 595f 5354 5249 4e47 7265 7175 6573 ERY_STRINGreques
0x0060: 743d 4765 7456 6572 7369 6f6e 2673 6572 t=GetVersion&ser
0x0070: 7669 6365 3d57 4d54 530e 0352 4551 5545 vice=WMTS..REQUE
0x0080: 5354 5f4d 4554 484f 4447 4554 0c00 434f ST_METHODGET..CO
0x0090: 4e54 454e 545f 5459 5045 0e00 434f 4e54 NTENT_TYPE..CONT
0x00a0: 454e 545f 4c45 4e47 5448 0f19 5343 5249 ENT_LENGTH..SCRI
0x00b0: 5054 5f46 494c 454e 414d 452f 7573 722f PT_FILENAME/usr/
0x00c0: 7368 6172 652f 6e67 696e 782f 7777 772f share/nginx/www/
0x00d0: 776d 7473 0b05 5343 5249 5054 5f4e 414d wmts..SCRIPT_NAM
0x00e0: 452f 776d 7473 0b25 5245 5155 4553 545f E/wmts.%REQUEST_
0x00f0: 5552 492f 776d 7473 3f72 6571 7565 7374 URI/wmts?request
0x0100: 3d47 6574 5665 7273 696f 6e26 7365 7276 =GetVersion&serv
0x0110: 6963 653d 574d 5453 0c05 444f 4355 4d45 ice=WMTS..DOCUME
0x0120: 4e54 5f55 5249 2f77 6d74 730d 1444 4f43 NT_URI/wmts..DOC
0x0130: 554d 454e 545f 524f 4f54 2f75 7372 2f73 UMENT_ROOT/usr/s
0x0140: 6861 7265 2f6e 6769 6e78 2f77 7777 0f08 hare/nginx/www..
0x0150: 5345 5256 4552 5f50 524f 544f 434f 4c48 SERVER_PROTOCOLH
0x0160: 5454 502f 312e 3111 0747 4154 4557 4159 TTP/1.1..GATEWAY
0x0170: 5f49 4e54 4552 4641 4345 4347 492f 312e _INTERFACECGI/1.
0x0180: 310f 0b53 4552 5645 525f 534f 4654 5741 1..SERVER_SOFTWA
0x0190: 5245 6e67 696e 782f 312e 322e 310b 0952 REnginx/1.2.1..R
0x01a0: 454d 4f54 455f 4144 4452 3132 372e 302e EMOTE_ADDR127.0.
0x01b0: 302e 310b 0552 454d 4f54 455f 504f 5254 0.1..REMOTE_PORT
0x01c0: 3430 3134 340b 0953 4552 5645 525f 4144 40144..SERVER_AD
0x01d0: 4452 3132 372e 302e 302e 310b 0453 4552 DR127.0.0.1..SER
0x01e0: 5645 525f 504f 5254 3830 3830 0b09 5345 VER_PORT8080..SE
0x01f0: 5256 4552 5f4e 414d 456c 6f63 616c 686f RVER_NAMElocalho
0x0200: 7374 0500 4854 5450 530f 0352 4544 4952 st..HTTPS..REDIR
0x0210: 4543 545f 5354 4154 5553 3230 300f 0b48 ECT_STATUS200..H
0x0220: 5454 505f 5553 4552 5f41 4745 4e54 6375 TTP_USER_AGENTcu
0x0230: 726c 2f37 2e32 362e 3009 0e48 5454 505f rl/7.26.0..HTTP_
0x0240: 484f 5354 6c6f 6361 6c68 6f73 743a 3830 HOSTlocalhost:80
0x0250: 3830 0b03 4854 5450 5f41 4343 4550 542a 80..HTTP_ACCEPT*
0x0260: 2f2a 0000 0104 0001 0000 0000 0105 0001 /*..............
0x0270: 0000 0000 ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment