Skip to content

Instantly share code, notes, and snippets.

@hrefhref
Last active November 7, 2018 12:25
Show Gist options
  • Save hrefhref/8c5bb85593552ada6a1a2ef11c188b2c to your computer and use it in GitHub Desktop.
Save hrefhref/8c5bb85593552ada6a1a2ef11c188b2c to your computer and use it in GitHub Desktop.
req qui fail:
10.69.8.2.44127 > 10.69.1.69.80: Flags [P.], cksum 0x1f2f (incorrect -> 0x23a8), seq 0:312, ack 1, win 1025, options [nop,nop,TS val 707742158 ecr 3235775578], length 312: HTTP, length: 312
GET /api/v1/accounts/relationships HTTP/1.0
Host: dev.pigs.social
X-Forwarded-Proto: https
X-Real-IP: zzzz
X-Forwarded-For: zzzz
Connection: close
User-Agent: Mastalab/1.20.0-beta-1 Android/6.0
Authorization: Bearer zzzz
Accept-Encoding: gzip
0x0000: 4500 016c 0000 4000 4006 1bbc 0a45 0802 E..l..@.@....E..
0x0010: 0a45 0145 ac5f 0050 309b fa41 e415 f693 .E.E._.P0..A....
0x0020: 8018 0401 1f2f 0000 0101 080a 2a2f 49ce ...../......*/I.
0x0030: c0de 045a 4745 5420 2f61 7069 2f76 312f ...ZGET./api/v1/
0x0040: 6163 636f 756e 7473 2f72 656c 6174 696f accounts/relatio
0x0050: 6e73 6869 7073 2048 5454 502f 312e 300d nships.HTTP/1.0.
0x0060: 0a48 6f73 743a 2064 6576 2e70 6967 732e .Host:.dev.pigs.
0x0070: 736f 6369 616c 0d0a 582d 466f 7277 6172 social..X-Forwar
0x0080: 6465 642d 5072 6f74 6f3a 2068 7474 7073 ded-Proto:.https
0x0090: 0d0a 582d 5265 616c 2d49 503a 2031 3035 ..X-Real-IP:.ZZZ
0x00a0: 2e31 3039 2e31 332e 3233 0d0a 582d 466f .ZZZ.ZZ.23..X-Fo
0x00b0: 7277 6172 6465 642d 466f 723a 2031 3035 rwarded-For:.105
0x00c0: 2e31 3039 2e31 332e 3233 0d0a 436f 6e6e .ZZZ.ZZ.23..Conn
0x00d0: 6563 7469 6f6e 3a20 636c 6f73 650d 0a55 ection:.close..U
0x00e0: 7365 722d 4167 656e 743a 204d 6173 7461 ser-Agent:.Masta
0x00f0: 6c61 622f 312e 3230 2e30 2d62 6574 612d lab/1.20.0-beta-
0x0100: 3120 416e 6472 6f69 642f 362e 300d 0a41 1.Android/6.0..A
0x0110: 7574 686f 7269 7a61 7469 6f6e 3a20 4265 uthorization:.Be
0x0120: 6172 6572 2070 704d 6179 6e76 6a64 344a arer.ZZZZZZZZZZZ
0x0130: 5470 4141 5953 414b 4c4f 446c 614e 4775 ZZZZZZZZZZZZZZZZ
0x0140: 5257 4265 6f56 5631 3638 5342 4372 4b34 ZZZZZZZZZZZZZZZZ
0x0150: 3d0d 0a41 6363 6570 742d 456e 636f 6469 =..Accept-Encodi
0x0160: 6e67 3a20 677a 6970 0d0a 0d0a ng:.gzip....
ca passe: (req de mastalab aussi)
12:23:03.076281 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 370)
10.69.8.2.45426 > 10.69.1.69.80: Flags [P.], cksum 0x1f35 (incorrect -> 0x5e80), seq 0:318, ack 1, win 1025, options [nop,nop,TS val 707953824 ecr 1201471479], length 318: HTTP, length: 318
GET /api/v1/accounts/relationships?id=69 HTTP/1.0
Host: dev.pigs.social
X-Forwarded-Proto: https
X-Real-IP: zzzzz
X-Forwarded-For: zzz
Connection: close
User-Agent: Mastalab/1.20.0-beta-1 Android/6.0
Authorization: Bearer zzzz=
Accept-Encoding: gzip
0x0000: 4500 0172 0000 4000 4006 1bb6 0a45 0802 E..r..@.@....E..
0x0010: 0a45 0145 b172 0050 5a7b 4a2a 40a8 4937 .E.E.r.PZ{J*@.I7
0x0020: 8018 0401 1f35 0000 0101 080a 2a32 84a0 .....5......*2..
0x0030: 479c fff7 4745 5420 2f61 7069 2f76 312f G...GET./api/v1/
0x0040: 6163 636f 756e 7473 2f72 656c 6174 696f accounts/relatio
0x0050: 6e73 6869 7073 3f69 643d 3639 2048 5454 nships?id=69.HTT
0x0060: 502f 312e 300d 0a48 6f73 743a 2064 6576 P/1.0..Host:.dev
0x0070: 2e70 6967 732e 736f 6369 616c 0d0a 582d .pigs.social..X-
0x0080: 466f 7277 6172 6465 642d 5072 6f74 6f3a Forwarded-Proto:
0x0090: 2068 7474 7073 0d0a 582d 5265 616c 2d49 .https..X-Real-I
0x00a0: 503a 2031 3035 2e31 3039 2e31 332e 3233 P:.zzz
0x00b0: 0d0a 582d 466f 7277 6172 6465 642d 466f ..X-Forwarded-Fo
0x00c0: 723a 2031 3035 2e31 3039 2e31 332e 3233 r:.zzzzz
0x00d0: 0d0a 436f 6e6e 6563 7469 6f6e 3a20 636c ..Connection:.cl
0x00e0: 6f73 650d 0a55 7365 722d 4167 656e 743a ose..User-Agent:
0x00f0: 204d 6173 7461 6c61 622f 312e 3230 2e30 .Mastalab/1.20.0
0x0100: 2d62 6574 612d 3120 416e 6472 6f69 642f -beta-1.Android/
0x0110: 362e 300d 0a41 7574 686f 7269 7a61 7469 6.0..Authorizati
0x0120: 6f6e 3a20 4265 6172 6572 2070 704d 6179 on:.Bearer.zzzz
0x0130: 6e76 6a64 344a 5470 4141 5953 414b 4c4f ZZZZZZZZZZZZZZZZ
0x0140: 446c 614e 4775 5257 4265 6f56 5631 3638 ZZZZZZZZZZZZZZZZ
0x0150: 5342 4372 4b34 3d0d 0a41 6363 6570 742d ZZZZZZ=..Accept-
0x0160: 456e 636f 6469 6e67 3a20 677a 6970 0d0a Encoding:.gzip..
0x0170: 0d0a ..
req curl avec ?id[] (ok aussi)
12:25:18.217770 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 339)
10.69.8.2.46204 > 10.69.1.69.80: Flags [P.], cksum 0x1f16 (incorrect -> 0x2468), seq 0:287, ack 1, win 1025, options [nop,nop,TS val 708088966 ecr 1466558726], length 287: HTTP, length: 287
GET /api/v1/accounts/relationships?id[]=1&id[]=2 HTTP/1.0
Host: dev.pigs.social
X-Forwarded-Proto: https
X-Real-IP: 10.69.1.69
X-Forwarded-For: 10.69.1.69
Connection: close
user-agent: curl/7.59.0
accept: */*
authorization: Bearer zzzzzz=
0x0000: 4500 0153 0000 4000 4006 1bd5 0a45 0802 E..S..@.@....E..
0x0010: 0a45 0145 b47c 0050 0f80 0599 8db0 9dfb .E.E.|.P........
0x0020: 8018 0401 1f16 0000 0101 080a 2a34 9486 ............*4..
0x0030: 5769 e906 4745 5420 2f61 7069 2f76 312f Wi..GET./api/v1/
0x0040: 6163 636f 756e 7473 2f72 656c 6174 696f accounts/relatio
0x0050: 6e73 6869 7073 3f69 645b 5d3d 3126 6964 nships?id[]=1&id
0x0060: 5b5d 3d32 2048 5454 502f 312e 300d 0a48 []=2.HTTP/1.0..H
0x0070: 6f73 743a 2064 6576 2e70 6967 732e 736f ost:.dev.pigs.so
0x0080: 6369 616c 0d0a 582d 466f 7277 6172 6465 cial..X-Forwarde
0x0090: 642d 5072 6f74 6f3a 2068 7474 7073 0d0a d-Proto:.https..
0x00a0: 582d 5265 616c 2d49 503a 2031 302e 3639 X-Real-IP:.10.69
0x00b0: 2e31 2e36 390d 0a58 2d46 6f72 7761 7264 .1.69..X-Forward
0x00c0: 6564 2d46 6f72 3a20 3130 2e36 392e 312e ed-For:.10.69.1.
0x00d0: 3639 0d0a 436f 6e6e 6563 7469 6f6e 3a20 69..Connection:.
0x00e0: 636c 6f73 650d 0a75 7365 722d 6167 656e close..user-agen
0x00f0: 743a 2063 7572 6c2f 372e 3539 2e30 0d0a t:.curl/7.59.0..
0x0100: 6163 6365 7074 3a20 2a2f 2a0d 0a61 7574 accept:.*/*..aut
0x0110: 686f 7269 7a61 7469 6f6e 3a20 4265 6172 horization:.Bear
0x0120: 6572 2070 704d 6179 6e76 6a64 344a 5470 er.zzzz
0x0130: 4141 5953 414b 4c4f 446c 614e 4775 5257 zzz
0x0140: 4265 6f56 5631 3638 5342 4372 4b34 3d0d zzz=.
0x0150: 0a0d 0a ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment