forked from schumilo/vUSBf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.txt
58 lines (46 loc) · 2.66 KB
/
help.txt
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
Usage: vusbf.py [Running Type] [Fuzzing Type] [Target Type]
Target Specification:
-o <target.conf>: name of a target configuration file (stored at ./configurations/)
Fuzzing Specification:
-e <execution-name>: name of an execution name (stored at execution.xml) which should be executed
(default xml files are stored in ./fuzz_configuration)
-ef <execution.xml>: path of an alternativ execution-xml file
-tf <test.xml>: path of an alternativ test-xml file
-cf <testcase.xml>: path of an alternativ testcase-xml file
(the following options could be used multiple times. However it's not possible to used them with clustering options)
-n <execution-number>: execute a specific test (could be useful for reproducing an error)
-nr <execution-range>: same as described above, but specifices a range of numbers [NOT IMPLEMENTED YET :-)]
Running Specification:
-eon <ip> <port> <payl> sending specified payload (NETWORK)
-eo <payl> sending specified payload
-v1 verbose level 1 (output device descriptor & control data)
-v2 verbose level 2 (raw redir data)
-sp <ip> <port> single core mode (but sending data to an external process)
(automatic mode)
-r single core mode
-rm multiprocessing mode
(clustering mode)
(Warning: These features are experimental and could cause deadlocks!)
-s <ip> <port> starting a test-distributor-server
-sc <ip> <port> starting a hybrid client-server [NOT IMPLEMENTED YET :-)]
-c <ip> <port> starting a client
-p specify number of processes
Extras:
-l list all available payloads
-L list all supported emulators
-h print help message
-sh shuffle job list
-rl reload mode (disable burst mode)
Example:
LIST ALL AVAILABLE PAYLOADS:
python vusbf.py -l
SEND PAYLOAD TO EXTERNAL QEMU INSTANCE:
python vusbf.py -eon 127.0.0.1 1235 panic_1.obj
EXECUTE PAYLOAD:
python vusbf.py -eo panic_1.obj -o ubuntu1404.config -v1
RUN SINGLECORE MODE (EXTERN VM):
python vusbf.py -sp 127.0.0.1 1235 -e ex2
RUN SINGLECORE MODE:
python vusbf.py -r -e ex1 -o ubuntu1404.config -rl
RUN MULTICORE MODE (20 PROCESSES):
python vusbf.py -rm -p 20 -e ex1 -o ubuntu1404.config -rl