Skip to content

Instantly share code, notes, and snippets.

@kingcu
Created August 9, 2011 09:50
Show Gist options
  • Save kingcu/1133688 to your computer and use it in GitHub Desktop.
Save kingcu/1133688 to your computer and use it in GitHub Desktop.
Proper POST with bad form data
0000 00 22 15 85 ca b9 00 0e a6 99 ed 22 08 00 45 20 ."...... ..."..E
0010 01 43 4f 1e 40 00 36 06 9a c9 d8 da c0 22 c0 a8 .CO.@.6. ....."..
0020 00 08 b9 bd 0b b8 2a ff 69 78 ff fc 27 b3 80 18 ......*. ix..'...
0030 00 2e c2 f0 00 00 01 01 08 0a c6 b9 26 72 0f 47 ........ ....&r.G
0040 d9 8c 50 4f 53 54 20 2f 75 73 65 72 73 2e 6a 73 ..POST / users.js
0050 6f 6e 20 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 on HTTP/ 1.1..Use
0060 72 2d 41 67 65 6e 74 3a 20 63 75 72 6c 2f 37 2e r-Agent: curl/7.
0070 32 31 2e 30 20 28 78 38 36 5f 36 34 2d 70 63 2d 21.0 (x8 6_64-pc-
0080 6c 69 6e 75 78 2d 67 6e 75 29 20 6c 69 62 63 75 linux-gn u) libcu
0090 72 6c 2f 37 2e 32 31 2e 30 20 4f 70 65 6e 53 53 rl/7.21. 0 OpenSS
00a0 4c 2f 30 2e 39 2e 38 6f 20 7a 6c 69 62 2f 31 2e L/0.9.8o zlib/1.
00b0 32 2e 33 2e 34 20 6c 69 62 69 64 6e 2f 31 2e 31 2.3.4 li bidn/1.1
00c0 35 20 6c 69 62 73 73 68 32 2f 31 2e 32 2e 36 0d 5 libssh 2/1.2.6.
00d0 0a 48 6f 73 74 3a 20 68 6f 62 62 65 7a 2e 6e 65 .Host: h obbez.ne
00e0 74 3a 33 30 30 30 0d 0a 41 63 63 65 70 74 3a 20 t:3000.. Accept:
00f0 2a 2f 2a 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e */*..Con tent-Len
0100 67 74 68 3a 20 32 31 0d 0a 43 6f 6e 74 65 6e 74 gth: 21. .Content
0110 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 -Type: a pplicati
0120 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 72 on/x-www -form-ur
0130 6c 65 6e 63 6f 64 65 64 0d 0a 0d 0a 77 68 61 74 lencoded ....what
0140 74 68 65 68 65 6c 6c 3d 69 64 6f 6e 74 6b 6e 6f thehell= idontkno
0150 77 w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment