Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: net/data/http/http.dict

Issue 1897863002: Add dictionary for HTTP fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add continuation Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # Fuzzer dictionary targetting HTTP/1.x responses.
6
7 # Entries that are generally useful in headers
8 ":"
9 "\x0A"
10 "\x0D"
11 "0"
12 "50"
13 "500"
14 # Horizontal whitespace. Matters mostly in status line.
15 " "
16 "\x09"
17 # Header continuation
18 "\x0D\x0A\x09"
19 # Used in a lot of individual headers
20 ";"
21 "="
22 ","
23 "\""
24
25 # Status line components
26 "HTTP"
27 "/1.1"
28 "/1.0"
29 # More interesting status codes. Leading space so can be inserted into
30 # other status lines.
31 " 100"
32 " 200"
33 " 206"
34 " 301"
35 " 302"
36 " 303"
37 " 304"
38 " 307"
39 " 308"
40 " 401"
41 " 403"
42 " 404"
43 " 500"
44 " 501"
45 " 403"
46
47 # Full status lines (Some with relevant following headers)
48 "HTTP/1.1 200 OK\x0A\x0A"
49 "HTTP/1.1 100 Continue\x0A\x0A"
50 "HTTP/1.1 401 Unauthorized\x0AWWW-Authenticate: Basic realm=\"Middle-Earth\"\x0A \xA0"
51 "HTTP/1.1 407 Proxy Authentication Required\x0AProxy-Authenticate: Digest realm= \"Middle-Earth\", nonce=\"aaaaaaaaaa\"\x0A\x0A"
52 "HTTP/1.0 301 Moved Permanently\x0ALocation: /a\x0A\x0A"
53 "HTTP/1.1 302 Found\x0ALocation: http://lost/\x0A\x0A"
54
55 # Proxy authentication headers. Note that fuzzers don't support NTLM or
56 # negotiate.
57 "WWW-Authenticate"
58 "Proxy-Authenticate"
59 "Basic"
60 "Digest"
61 "realm"
62 "nonce"
63
64 "Connection"
65 "Proxy-Connection"
66 "Keep-Alive"
67 "Close"
68 "\x0AConnection: Keep-Alive"
69 "\x0AConnection: Close"
70 "\x0AProxy-Connection: Keep-Alive"
71 "\x0AProxy-Connection: Close"
72
73 "Content-Length"
74 "Transfer-Encoding"
75 "chunked"
76 "\x0AContent-Length: 0"
77 "\x0AContent-Length: 500"
78 "\x0ATransfer-Encoding: chunked\x0A\x0A5\x0A12345\x0A0\x0A\x0A"
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698