-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.sample
131 lines (90 loc) · 3.54 KB
/
config.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
### A sample configuration file. All options are key-value pairs, separated by =.
### NOTE: Arguments are processed in the order you provide them.
### Make sure not to overwrite your preferred configuration.
### for example, the following arguments conflict with each other:
# FUZZING_STATE_UNIFORM_DISTRIBUTION = 1
# d1 = 0.2
################################################################################
### Probability of choosing mutation-guided fuzzing
CHOOSE_MUTATION = 0.5
### If set to 1, then we assume b = 0.5 and ci = 1/15 for (c1, ..., c15).
PACKET_SELECTION_UNIFORM_DISTRIBUTION = 1
### If set to 1, then we assume di = 1/3 for (d1, d2, d3) and d4 = 0.5.
FUZZING_STATE_UNIFORM_DISTRIBUTION = 1
### Probability of selecting/generating seed input from response log
b = 0.5
### Probability of selecting CONNECT packet
# c1 = 1/15
### Probability of selecting/generating CONNACK packet
# c2 = 1/15
### Probability of selecting/generating PUBLISH packet
# c3 = 1/15
### Probability of selecting/generating PUBACK packet
# c4 = 1/15
### Probability of selecting/generating PUBREC packet
# c5 = 1/15
### Probability of selecting/generating PUBREL packet
# c6 = 1/15
### Probability of selecting/generating PUBCOMP packet
# c7 = 1/15
### Probability of selecting/generating SUBSCRIBE packet
# c8 = 1/15
### Probability of selecting/generating SUBACK packet
# c9 = 1/15
### Probability of selecting/generating UNSUBSCRIBE packet
# c10 = 1/15
### Probability of selecting/generating UNSUBACK packet
# c11 = 1/15
### Probability of selecting/generating PINGREQ packet
# c12 = 1/15
### Probability of selecting/generating PINGRESP packet
# c13 = 1/15
### Probability of selecting/generating/generating DISCONNECT packet
# c14 = 1/15
### Probability of selecting/generating/generating AUTH packet
# c15 = 1/15
### Probability of selecting the Inject fuzzing state
# d1 = 1/3
### Probability of selecting the Delete fuzzing state
# d2 = 1/3
### Probability of selecting the Mutate fuzzing state
# d3 = 1/3
### Probability of selecting the BOF fuzzing state
# d4 = 1/8
### Probability of transitioning from state S1 to state S2
# X1 = 0.1
### Probability of transitioning from state S2 to state Send
# X2 = 0.1
### Probability of transitioning from state Send to state Sf
# X3 = 0.1
### Determines the percentage of bytes that should be fuzzed
FUZZING_INTENSITY = 0.25
### Determines the maximum number of MQTT packets in a single payload
CONSTRUCTION_INTENSITY = 3
### Set the target address
TARGET_ADDR = 0.0.0.0
### Set the target port
TARGET_PORT = 1883
### Set the verbosity - 0 (mute), 1 (normal), 2 (verbose), 3 (debug)
VERBOSITY = 1
### Provide the command to start the target.
### This argument MUST be given if you want to monitor console responses or automatically restart the target.
# START_COMMAND = /home/user1/mosquitto/src/mosquitto
### The number of seconds it takes to start the target
# TARGET_START_TIME = 0.5
### For console responses, if they are at least this similar to any other
### response, then we discard it.
SIMILARITY_THRESHOLD = 0.3
### If set to 1, the 'fast' version of crash triage is used.
### If set to 0, the 'slow' version is used.
TRIAGE_FAST = 0
### The maximum depth that the crash triage script may reach.
### Higher depths may find smaller inputs, but it will probably
take a while to find them.
TRIAGE_MAX_DEPTH = 3
### Provide the crash directory
CRASH_DIRECTORY = crashes
### Provide the crash filename prefix. This will be appended with a timestamp.
CRASH_FILENAME_PREFIX = target
### Self-explanatory
MAXIMUM_PAYLOAD_LENGTH = 10000