OLD | NEW |
(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 DNS responses. |
| 6 |
| 7 # Some 16-bit big-endian values. Useful in a number of fields. Includes |
| 8 # A, AAAA, and CNAME IDs, low values for record counts, and multiples of |
| 9 # lengths of A and AAAA data fields. |
| 10 "\x00\x00" |
| 11 "\x00\x01" |
| 12 "\x00\x02" |
| 13 "\x00\x03" |
| 14 "\x00\x04" |
| 15 "\x00\x05" |
| 16 "\x00\x08" |
| 17 "\x00\x0C" |
| 18 "\x00\x10" |
| 19 "\x00\x1C" |
| 20 "\x00\x20" |
| 21 "\x00\x30" |
| 22 |
| 23 # Some encoded domain names. |
| 24 "\x03foo\x00" |
| 25 "\x03foo\x03com\x00" |
| 26 "\x01a\x03foo\x03com\x00" |
| 27 "\x03bar\x00" |
| 28 |
| 29 # Message headers (Without message ID field). |
| 30 "\x81\x80\x00\x01\x00\x01\x00\x00\x00\x00" |
| 31 # Truncated message, requiring TCP fallback. |
| 32 "\x83\x80\x00\x01\x00\x01\x00\x00\x00\x00" |
| 33 # Varying number of answers |
| 34 "\x81\x80\x00\x01\x00\x00\x00\x00\x00\x00" |
| 35 "\x81\x80\x00\x01\x00\x02\x00\x00\x00\x00" |
| 36 "\x81\x80\x00\x01\x00\x10\x00\x00\x00\x00" |
| 37 |
| 38 # A, AAAA, and CNAME request suffixes - appear after domain name. |
| 39 "\x00\x01\x00\x01" |
| 40 "\x00\x1c\x00\x01" |
| 41 "\x00\x05\x00\x01" |
| 42 |
| 43 # A, AAAA, and CNAME requests for foo and foo.com. |
| 44 "\x03foo\x00\x00\x01\x00\x01" |
| 45 "\x03foo\x00\x00\x1c\x00\x01" |
| 46 "\x03foo\x00\x00\x05\x00\x01" |
| 47 "\x03foo\x03com\x00\x00\x01\x00\x01" |
| 48 "\x03foo\x03com\x00\x00\x1c\x00\x01" |
| 49 "\x03foo\x03com\x00\x00\x05\x00\x01" |
| 50 |
| 51 # All of the answers below are missing the name field, which should appear |
| 52 # first. |
| 53 |
| 54 # A answer suffixes, two different IP and TTLs. |
| 55 "\x00\x01\x00\x01\x00\x00\x00\x00\x00\x04\x01\x02\x03\x04" |
| 56 "\x00\x01\x00\x01\x00\x00\x00\xFF\x00\x04\x02\x03\x04\x05" |
| 57 |
| 58 # AAAA answer suffixes, two different IPs and TTLs. |
| 59 "\x00\x1C\x00\x01\x00\x00\x00\x00\x00\x08\x01\x02\x03\x04\x05\x06\x07\x08" |
| 60 "\x00\x1C\x00\x01\x00\x00\x00\xFF\x00\x08\x02\x03\x04\x05\x06\x07\x08\x09" |
| 61 |
| 62 # CDATA answer suffixes, first two truncated as well. |
| 63 "\x00\x05\x00\x01\x00\x00\x00\xFF" |
| 64 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05" |
| 65 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03foo\x00" |
| 66 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03bar\x00" |
| 67 "\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x09\x03foo\x03com\x00" |
OLD | NEW |