• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16# DHCP DHCPD fuzzer dictionary
17# Common IP addresses
18"192.168.1.1"
19"192.168.1.100"
20"192.168.0.1"
21"10.0.0.1"
22"172.16.0.1"
23"255.255.255.0"
24"255.255.0.0"
25"255.0.0.0"
26"0.0.0.0"
27
28# IP ranges
29"192.168.1.100,192.168.1.200"
30"10.0.0.100,10.0.0.200"
31"172.16.1.1,172.16.1.100"
32
33# Interface names
34"wlan0"
35"eth0"
36"lo"
37"br0"
38"tun0"
39
40# Configuration file paths
41"/etc/dhcp/dhcpd.conf"
42"/var/lib/dhcp/dhcpd.conf"
43"/tmp/dhcpd.conf"
44
45# Argument keys
46"ifname"
47"netmask"
48"gateway"
49"pool"
50"server"
51"lease"
52"renewal"
53"rebinding"
54"dns"
55"conf"
56
57# Lease times (in seconds)
58"\x00\x00\x0e\x10"  # 3600 (1 hour)
59"\x00\x00\x1c\x20"  # 7200 (2 hours)
60"\x00\x01\x51\x80"  # 86400 (24 hours)
61
62# Common DHCP lease times
63"3600"
64"7200"
65"86400"
66"43200"
67
68# DNS servers
69"8.8.8.8"
70"8.8.4.4"
71"1.1.1.1"
72"208.67.222.222"
73
74# Network configurations
75"255.255.255.0"
76"255.255.0.0"
77"255.0.0.0"
78
79# MAC addresses
80"\x00\x11\x22\x33\x44\x55"
81"\xff\xff\xff\xff\xff\xff"
82"\x00\x00\x00\x00\x00\x00"
83
84# Configuration options
85"option"
86"subnet"
87"range"
88"default-lease-time"
89"max-lease-time"
90"domain-name-servers"
91"routers"
92
93# Boolean values
94"true"
95"false"
96"1"
97"0"
98"yes"
99"no"