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

Side by Side Diff: net/data/fuzzer_dictionaries/net_http_proxy_client_socket_fuzzer.dict

Issue 2128583006: [libfuzzer] Add or update dictionaries for //net fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments. Created 4 years, 5 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
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
26 # Status line components
27 "HTTP"
28 "/1.1"
29 "/1.0"
30 # More interesting status codes. Leading space so can be inserted into
31 # other status lines.
32 " 100"
33 " 200"
34 " 206"
35 " 301"
36 " 302"
37 " 303"
38 " 304"
39 " 307"
40 " 308"
41 " 401"
42 " 403"
43 " 404"
44 " 500"
45 " 501"
46 " 403"
47
48 # Full status lines (Some with relevant following headers)
49 "HTTP/1.1 200 OK\x0A\x0A"
50 "HTTP/1.1 100 Continue\x0A\x0A"
51 "HTTP/1.1 401 Unauthorized\x0AWWW-Authenticate: Basic realm=\"Middle-Earth\"\x0A \xA0"
52 "HTTP/1.1 407 Proxy Authentication Required\x0AProxy-Authenticate: Digest realm= \"Middle-Earth\", nonce=\"aaaaaaaaaa\"\x0A\x0A"
53 "HTTP/1.0 301 Moved Permanently\x0ALocation: /a\x0A\x0A"
54 "HTTP/1.1 302 Found\x0ALocation: http://lost/\x0A\x0A"
55
56 # Proxy authentication headers. Note that fuzzers don't support NTLM or
57 # negotiate.
58 "WWW-Authenticate:"
59 "Proxy-Authenticate:"
60 "Basic"
61 "Digest"
62 "realm"
63 "nonce"
64
65 "Connection:"
66 "Proxy-Connection:"
67 "Keep-Alive"
68 "Close"
69 "Upgrade"
70 "\x0AConnection: Keep-Alive"
71 "\x0AConnection: Close"
72 "\x0AProxy-Connection: Keep-Alive"
73 "\x0AProxy-Connection: Close"
74
75 "Content-Length:"
76 "Transfer-Encoding:"
77 "chunked"
78 "\x0AContent-Length: 0"
79 "\x0AContent-Length: 500"
80 "\x0ATransfer-Encoding: chunked\x0A\x0A5\x0A12345\x0A0\x0A\x0A"
81
82 "Location:"
83 "\x0ALocation: http://foo/"
84 "\x0ALocation: http://bar/"
85 "\x0ALocation: https://foo/"
86 "\x0ALocation: https://bar/"
87
88 "Accept-Ranges:"
89 "bytes"
90 "\x0AAccept-Ranges: bytes"
91
92 "Content-Range:"
93
94 "Age:"
95 "\x0AAge: 0"
96 "\x0AAge: 3153600000"
97
98 "Cache-Control:"
99 "max-age"
100 "no-cache"
101 "no-store"
102 "must-revalidate"
103 "\x0ACache-Control: max-age=3153600000"
104 "\x0ACache-Control: max-age=0"
105 "\x0ACache-Control: no-cache"
106 "\x0ACache-Control: no-store"
107 "\x0ACache-Control: must-revalidate"
108
109 "Content-Disposition:"
110 "attachment"
111 "filename"
112
113 "Content-Encoding:"
114 "gzip"
115 "deflate"
116 "sdch"
117 "br"
118 "\x0AContent-Encoding: gzip"
119 "\x0AContent-Encoding: deflate"
120 "\x0AContent-Encoding: sdch"
121 "\x0AContent-Encoding: br"
122
123 "Date:"
124 "Fri, 01 Apr, 2050 14:14:14 GMT"
125 "Mon, 28 Mar, 2016 04:04:04 GMT"
126 "\x0ADate: Fri, 01 Apr, 2050 14:14:14 GMT"
127 "\x0ADate: Mon, 28 Mar, 2016 04:04:04 GMT"
128
129 "Last-Modified:"
130 "\x0ALast-Modified: Fri, 01 Apr, 2050 14:14:14 GMT"
131 "\x0ALast-Modified: Mon, 28 Mar, 2016 04:04:04 GMT"
132
133 "Expires:"
134 "\x0AExpires: Fri, 01 Apr, 2050 14:14:14 GMT"
135 "\x0AExpires: Mon, 28 Mar, 2016 04:04:04 GMT"
136
137 "Set-Cookie:"
138 "Expires"
139 "Max-Age"
140 "Domain"
141 "Path"
142 "Secure"
143 "HttpOnly"
144 "Priority"
145 "Low"
146 "Medium"
147 "High"
148 "SameSite"
149 "Strict"
150 "Lax"
151 "\x0ASet-Cookie: foo=bar"
152 "\x0ASet-Cookie: foo2=bar2;HttpOnly;Priority=Low;SameSite=Strict;Path=/"
153 "\x0ASet-Cookie: foo=chicken;SameSite=Lax"
154
155 "Strict-Transport-Security:"
156 "includeSubDomains"
157
158 "Vary:"
159 "\x0AVary: Cookie"
160 "\x0AVary: Age"
161
162 "ETag:"
163 "\x0AETag: jumboshrimp"
164
165
166 # This part has been generated with testing/libfuzzer/dictionary_generator.py
167 # using net_http_proxy_client_socket_fuzzer binary and RFC 2616.
168 "all"
169 "code"
170 "maximum"
171 "Transfer-Encoding"
172 "D.,"
173 "results"
174 "follow"
175 "(LZW)."
176 "provided."
177 "(which"
178 "ISDN"
179 "\"TE\""
180 "LF>"
181 "FORCE"
182 "calculate"
183 "\"IETF"
184 "UNIX,"
185 "ARPA"
186 "\"OPTIONAL\""
187 "environment"
188 "Host"
189 "program"
190 "USENET"
191 "TEXT"
192 "Not"
193 "Nov"
194 "include"
195 "resources"
196 "CONNECT"
197 "digit"
198 "supported"
199 "string"
200 "returning"
201 "ALL"
202 "HTTP/1.1;"
203 "SP,"
204 "SP."
205 "entries"
206 "HTTP/1.1,"
207 "HTTP/1.1."
208 "difference"
209 "(URI):"
210 "--"
211 "[CRLF]"
212 "EXPRESS"
213 "list"
214 "HTTP/1.0\","
215 "(RFC"
216 "large"
217 "ONLY"
218 "Tag"
219 "(LWS"
220 "enclosing"
221 "\"SHOULD\","
222 "(URL)\","
223 "\"A\"..\"Z\">"
224 "unexpected"
225 "GET)"
226 "\"HEAD\""
227 "direct"
228 "Failed"
229 "second"
230 "Version"
231 "\"A\""
232 "allowed."
233 "pass"
234 "GET,"
235 "tag."
236 "implemented"
237 "\"HTTP/1.0\""
238 "INFRINGE"
239 "errors"
240 "ISO-8859-4,"
241 "appear"
242 "opaque"
243 "section"
244 "CPU"
245 "current"
246 "waiting"
247 "version"
248 "above"
249 "TTL"
250 "shared"
251 "CRLF)"
252 "public"
253 "FTP"
254 "NNTP."
255 "WWW-"
256 "never"
257 "equals"
258 "\"HTTP/1.1"
259 "reported"
260 "objects"
261 "address"
262 "active"
263 "path"
264 "["
265 "\"POST\""
266 "HTTP."
267 "change"
268 "MA"
269 "\"AS"
270 "broken"
271 "BACK)"
272 "NOT"
273 "NNTP"
274 "named"
275 "useful"
276 "secure"
277 "family"
278 "case."
279 "detected."
280 "\"HTTP\""
281 "private"
282 "CERN/3.0"
283 "CTE"
284 "(CTE)"
285 "Too"
286 "CTL"
287 "PUT,"
288 "user-agent"
289 "PUT)"
290 "byte"
291 "select"
292 "use"
293 "TASK"
294 "from"
295 "exception."
296 "working"
297 "to"
298 "value."
299 "WARRANTIES"
300 "two"
301 "URI;"
302 "User-Agent"
303 "few"
304 "--THIS_STRING_SEPARATES"
305 "POST,"
306 "call"
307 "6"
308 "MUST,"
309 "scope"
310 "type"
311 "authorization"
312 "more"
313 "ISO-8859-9,"
314 "(GMT),"
315 "(TE)"
316 "name."
317 "initial"
318 "Required"
319 "RFC-850"
320 "warn"
321 "bytes,"
322 "Found"
323 "cases"
324 "MHTML"
325 "name:"
326 "must"
327 "parse"
328 "lowercase"
329 "MHTML,"
330 "RIGHTS"
331 "this"
332 "NTP"
333 "work"
334 "--THIS_STRING_SEPARATES--"
335 "Syntax"
336 "paragraph"
337 "can"
338 "tracing"
339 "following"
340 "\"I"
341 "closing"
342 "modifier"
343 "root"
344 "example"
345 "requested,"
346 "J.,"
347 "control"
348 "type."
349 "reserved"
350 "links"
351 "process"
352 "attribute"
353 "allowed"
354 "high"
355 "currency"
356 "numbers"
357 "want"
358 "type:"
359 "native"
360 "LF"
361 "class,"
362 "end"
363 "Missing"
364 "HTTP-"
365 "HTTP,"
366 "charset"
367 "1"
368 "line."
369 "2*N"
370 "H."
371 "1XX"
372 "WARRANTIES,"
373 "HTTP:"
374 "A"
375 "badly"
376 "HEAD"
377 "may"
378 "insecure"
379 "after"
380 "variant"
381 "different"
382 "wrong"
383 "[SP"
384 "ANSI,"
385 "date"
386 "such"
387 "data"
388 "parallel"
389 "repeat"
390 "a"
391 "FTP,"
392 "All"
393 "short"
394 "\"GET\""
395 "Y."
396 "UA"
397 "(2**N),"
398 "element"
399 "so"
400 "cases."
401 "File"
402 "(LWS)"
403 "\"DEFLATE"
404 "order"
405 "\"SHOULD"
406 "don't"
407 "MIC"
408 "move"
409 "vary"
410 "satisfied"
411 "CD-ROM,"
412 "ended"
413 "HTTP-WG."
414 "LINK,"
415 "pointer"
416 "its"
417 "digest"
418 "before"
419 "HTML"
420 "(OK)"
421 "using:"
422 "MAY,"
423 "fix"
424 "ISO-3166"
425 "actually"
426 "407"
427 "(GNU"
428 "\"HTTP/1.1\","
429 "P.,"
430 "401"
431 "MERCHANTABILITY"
432 "DNS."
433 "into"
434 "\"HTTP"
435 "it."
436 "it,"
437 "return"
438 "combination"
439 "URL"
440 "URI"
441 "number"
442 "Bad"
443 "not"
444 "However,"
445 "SSL"
446 "name"
447 "always"
448 "decimal"
449 "expectation."
450 "did"
451 "ISO-639"
452 "]URI,"
453 "found"
454 "trailer"
455 "mean"
456 "breakdown"
457 "domain"
458 "From"
459 "UTC"
460 "(via"
461 "(URI)"
462 "UNLINK"
463 "used"
464 "expect"
465 "exceeded"
466 "(MIC)"
467 "event"
468 "out"
469 "is:"
470 "by"
471 "E."
472 "space"
473 "\"MUST/MAY/SHOULD\""
474 "REQUIRED"
475 "ALPHA"
476 "HTTP/2.4"
477 "4DIGIT"
478 "increase"
479 "L."
480 "time."
481 "PATCH,"
482 "supports"
483 "2DIGIT"
484 "K.,"
485 "(A,"
486 "This"
487 "free"
488 "\"B\""
489 "RFC"
490 "base"
491 "proxy"
492 "IMPLIED,"
493 "POST"
494 "received."
495 "generate"
496 "text/plain"
497 "ISO-8859-7,"
498 "\"HTTP/1.1\""
499 "Partial"
500 "could"
501 "transition"
502 "DISCLAIMS"
503 "times"
504 "filter"
505 "HTML\","
506 "length"
507 "HEAD."
508 "HEAD,"
509 "S.,"
510 "first"
511 "origin"
512 "\"E\""
513 "already"
514 "UPALPHA"
515 "3DIGIT"
516 "*"
517 "Cache"
518 "Please"
519 "token."
520 "one"
521 "CHAR"
522 "ISI"
523 "another"
524 "FITNESS"
525 "message"
526 "CSS1,"
527 "open"
528 "size"
529 "doesn't"
530 "\""
531 "script"
532 "unknown"
533 "top"
534 "header)"
535 "system"
536 "construct"
537 "image/gif"
538 "2"
539 "ignored."
540 "listed"
541 "Date"
542 "LOALPHA"
543 "scheme"
544 "final"
545 "store"
546 "too"
547 "M."
548 "Success"
549 "that"
550 "completed"
551 "OPTIONAL;"
552 "task"
553 "tokens"
554 "R"
555 "pragma"
556 "(IANA"
557 "WAIS"
558 "F.,"
559 "than"
560 "(A"
561 "K."
562 "target"
563 "16"
564 "require"
565 "Only"
566 "WWW-Authenticate"
567 "HTTP/2.13,"
568 "headers"
569 "See"
570 "GMT."
571 "HTTP/2.0,"
572 "were"
573 "1)"
574 "IS\""
575 "stale"
576 "1*8ALPHA"
577 "are"
578 "and"
579 "IRC/6.9,"
580 "false"
581 "URL)."
582 "turned"
583 "ANSI"
584 "B"
585 "(IANA)"
586 "(LWS)."
587 "have"
588 "MIME,"
589 "need"
590 "HTTP/1.1.)"
591 "null"
592 "any"
593 "contents"
594 "conversion"
595 "data)"
596 "(LZ77)"
597 "(MIME"
598 "mechanism"
599 "internal"
600 "(C)"
601 "take"
602 "which"
603 "With"
604 "UCI"
605 "HTTP/0.9,"
606 "content-"
607 "200"
608 "begin"
609 "headers)"
610 "unless"
611 "TCP/IP"
612 "Content-Disposition"
613 "206"
614 "buffer"
615 "object"
616 "\"MUST\","
617 "regular"
618 "letter"
619 "entry"
620 "The"
621 "]"
622 "the"
623 "D."
624 "(STD"
625 "incompatible"
626 "L.,"
627 "(URL)"
628 "left"
629 "+"
630 "\"MIME"
631 "Note:"
632 "particularly"
633 "WA"
634 "text"
635 "labels"
636 "\"C\""
637 "Authentication"
638 "Unrecognized"
639 "CRLF."
640 "PARTICULAR"
641 "CRLF,"
642 "SP"
643 "find"
644 "MUST"
645 "true,"
646 "cache."
647 "upgrade"
648 "cache)"
649 "implementation"
650 "("
651 "[RFC"
652 "cache"
653 "3"
654 "should"
655 "failed"
656 "only"
657 "unable"
658 "LDAP)"
659 "USA"
660 "US-ASCII"
661 "(UA)"
662 "get"
663 "E.,"
664 "HEREIN"
665 "\"HTTP\"."
666 "cannot"
667 "new"
668 "THE"
669 "BNF"
670 "DIGIT,"
671 "closure"
672 "PUT"
673 "0)"
674 "resource"
675 "A.,"
676 "W."
677 "Content-Type:"
678 "ISO-8859."
679 "calling"
680 "J."
681 "INCLUDING"
682 "common"
683 "INTERNET"
684 "release"
685 "ISI/RR-98-463,"
686 "\"CONNECT\""
687 "where"
688 "set"
689 "IANA"
690 "For"
691 "\"F\""
692 "configured"
693 "C"
694 "this,"
695 "multipart"
696 "close"
697 "end."
698 "detect"
699 "GET"
700 "WWW\","
701 "1*DIGIT"
702 "BUT"
703 "MIT"
704 "outside"
705 "Proxy-Authorization"
706 "closed"
707 "between"
708 "probably"
709 "boundary"
710 "reading"
711 "\"SHALL"
712 "\"RECOMMENDED\","
713 "available"
714 "we"
715 "FOR"
716 "missing"
717 "importance"
718 "screen"
719 "connection."
720 "ISO-8859-1"
721 "UNIX"
722 "STD"
723 "key"
724 "(MIME)"
725 "P."
726 "\"HTTP/1.1\"."
727 "HTTP/1.0),"
728 "AND"
729 "received"
730 "WWW"
731 "TRACE"
732 "\"MAY\","
733 "many"
734 "*TEXT"
735 "Unsupported"
736 "Rules"
737 "connection"
738 "Unicode"
739 "*OCTET"
740 "exceeds"
741 "(URN)"
742 "safely"
743 "finds"
744 "can't"
745 "WARRANTY"
746 "ISO-8859-8,"
747 "Content-Length"
748 "consume"
749 "stream"
750 "simple"
751 "header"
752 "DNS)"
753 "colon"
754 "adding"
755 "spans"
756 "1*HEX"
757 "table"
758 "allocated"
759 "BCP"
760 "application/pdf"
761 "LWS:"
762 "\"REQUIRED\","
763 "Wed,"
764 "C."
765 "C,"
766 "Proxy-Authenticate"
767 "encryption"
768 "create"
769 "(MHTML)\","
770 "been"
771 "."
772 "HTTP/12.3."
773 "\"OPTIONS\""
774 "\"PUT\""
775 "context."
776 "LWS,"
777 "basic"
778 "expected"
779 "prototype"
780 "GMT,"
781 "empty"
782 ">"
783 "URL."
784 "PNG,\""
785 "\"D\""
786 "CA"
787 "HEX"
788 "N"
789 "0*3DIGIT"
790 "\"W/\""
791 "CR"
792 "\"DELETE\""
793 "unnecessarily"
794 "case"
795 "exception"
796 "save"
797 "(HTTP)"
798 "value"
799 "Assigned"
800 "while"
801 "\"GZIP"
802 "\"SHALL\","
803 "error"
804 "\"GMT\""
805 "\"TRACE\""
806 "resident"
807 "is"
808 "thus"
809 "it"
810 "encountered"
811 "Content"
812 "MIME"
813 "in"
814 "SIGCOMM"
815 "You"
816 "if"
817 "result"
818 "binary"
819 "containing"
820 "\"A"
821 ")"
822 "CREATE"
823 "expired"
824 "1DIGIT"
825 "same"
826 "OPTIONS"
827 "read"
828 "BNF,"
829 "unrecognized"
830 "units"
831 "UST"
832 "status"
833 "\"%"
834 "extended"
835 "http"
836 "context"
837 "I"
838 "IP"
839 "(O)."
840 "allocation"
841 "running"
842 "*LWS"
843 "user"
844 "SMTP"
845 "stack"
846 "tracking"
847 "IETF"
848 "CR."
849 "failing"
850 "ANY"
851 "patterns"
852 "M.,"
853 "Names"
854 "In"
855 "position"
856 "model"
857 "audio"
858 "If"
859 "US-ASCII."
860 "MAY"
861 "THAT"
862 "being"
863 "(OK)."
864 "actions"
865 "invalid"
866 "HTTP/1.0)"
867 "CRC."
868 "previous"
869 "tables"
870 "TO"
871 "<US-ASCII"
872 "character"
873 "source"
874 "ISO-8859-2,"
875 "valid"
876 "location"
877 "HTTP/1.0"
878 "HTTP/1.1"
879 "size,"
880 "has"
881 "match"
882 "build"
883 "URI."
884 "tests"
885 "format"
886 "transfer-encoding"
887 "H.,"
888 "T"
889 "using"
890 "LIMITED"
891 "OK"
892 "success"
893 "text/html"
894 "ISO-8859-5,"
895 "B,"
896 "signal"
897 "MIME:"
898 "(HTCPCP/1.0)\","
899 "server"
900 "discarded"
901 "true"
902 "OF"
903 "output"
904 "page"
905 "S."
906 "right"
907 "old"
908 "sequence"
909 "uppercase"
910 "B.,"
911 "some"
912 "back"
913 "HT"
914 "Last-Modified"
915 "growth"
916 "equivalent"
917 "specified"
918 "multiple"
919 "H.F.,"
920 "HTTP/1.0."
921 "(BNF)"
922 "happens"
923 "ignore"
924 "PUT."
925 "INDEX."
926 "trace"
927 "for"
928 "avoid"
929 "CR,"
930 "does"
931 "Authorization"
932 "assuming"
933 "be"
934 "run"
935 "GET."
936 "deleted"
937 "302"
938 "X3.4-1986"
939 "<URL:"
940 "O"
941 "ISO-8859-1."
942 "last-modified"
943 "host"
944 "HTTP/1.0,"
945 "LWS>"
946 "INFORMATION"
947 "X3.4-1986,"
948 "properties"
949 "ALPHA,"
950 "Location"
951 "on"
952 "DIGIT"
953 "ENGINEERING"
954 "actual"
955 "extension"
956 "of"
957 "R.,"
958 "\"UTF-8,"
959 "*<TEXT,"
960 "OR"
961 "range"
962 "3ALPHA"
963 "URI,"
964 "positive"
965 "Message"
966 "DELETE"
967 "content-type"
968 "or"
969 "UC"
970 "No"
971 "ISO-"
972 "image"
973 "ACM"
974 "HEX\""
975 "URL,"
976 "because"
977 "ISO-8859-6,"
978 "T.,"
979 "operator"
980 "T/TCP"
981 "mark"
982 "file."
983 "area"
984 "GET\""
985 "transfer"
986 "support"
987 "there"
988 "long"
989 "class"
990 "start"
991 "HT."
992 "forward"
993 "was"
994 "function"
995 "HT,"
996 "N."
997 "HTTP/1.1\","
998 "memory"
999 "OCTET"
1000 "but"
1001 "failure"
1002 "TE:"
1003 "IMPLIED"
1004 "CRLF"
1005 "DNS"
1006 "Error"
1007 "\"ZLIB"
1008 "line"
1009 "trying"
1010 "with"
1011 "GMT"
1012 "count"
1013 "algorithm"
1014 "default"
1015 "B."
1016 "ISO-8859-1,"
1017 "up"
1018 "ISO-8859-1)"
1019 "SHOULD"
1020 "PURPOSE."
1021 "limit"
1022 "used."
1023 "WILL"
1024 "DEL"
1025 "define"
1026 "called"
1027 "delete"
1028 "DELETE,"
1029 "storing"
1030 "USE"
1031 "image/jpeg"
1032 "defined"
1033 "LWS"
1034 "combining"
1035 "unsafe"
1036 "an"
1037 "To"
1038 "as"
1039 "warning"
1040 "exist"
1041 "at"
1042 "file"
1043 "NOT\""
1044 "NOT,"
1045 "W3C/MIT"
1046 "ISO-8859-1:1987."
1047 "SHTTP/1.3,"
1048 "no"
1049 "when"
1050 "A,"
1051 "virtual"
1052 "A."
1053 "details."
1054 "application"
1055 "other"
1056 "OPTIONAL"
1057 "Proxy"
1058 "LF,"
1059 "test"
1060 "MD5"
1061 "you"
1062 "TE"
1063 "ISO-8859-3,"
1064 "requested"
1065 "elements"
1066 "C)"
1067 "symbol"
1068 "T."
1069 "code)"
1070 "variable"
1071 "SOCIETY"
1072 "\"MUST"
1073 "TCP"
1074 "ISO-10646\","
1075 "NOT\","
1076 "R."
1077 "lead"
1078 "audio/basic"
1079 "IANA."
1080 "\"WAIS"
1081 "persistent"
1082 "Its"
1083 "As"
1084 "time"
1085 "failures"
1086 "\"ISO-8859-1\""
1087 "once"
1088
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698