Last change
on this file since 1513 was
1513,
checked in by Sam Hocevar, 14 years ago
|
|
-
Property svn:keywords set to
Id
|
File size:
1.3 KB
|
Line | |
---|
1 | $Id: README 1513 2006-12-23 18:37:52Z sam $ |
---|
2 | |
---|
3 | 1. About Zzuf |
---|
4 | |
---|
5 | Zzuf is a transparent application input fuzzer. It works by intercepting |
---|
6 | file operations and changing random bits in the program's input. Zzuf's |
---|
7 | behaviour is deterministic, making it easy to reproduce bugs. |
---|
8 | |
---|
9 | |
---|
10 | 2. Example |
---|
11 | |
---|
12 | Fuzz the input of the "cat" program using default settings: |
---|
13 | |
---|
14 | # zzuf cat /etc/motd |
---|
15 | |
---|
16 | Fuzz 1% of the input bits of the "cat" program using seed 94324: |
---|
17 | |
---|
18 | # zzuf -s 94324 -r 0.01 cat /etc/motd |
---|
19 | |
---|
20 | Fuzz the input of the "convert" program, using file foo.jpeg as the original |
---|
21 | input and restricting fuzzing to filenames matching the regular expression |
---|
22 | "foo[.]jpeg" (because convert will also open its own configuration files and |
---|
23 | we do not want zzuf to fuzz them): |
---|
24 | |
---|
25 | # zzuf -i 'foo[.]jpeg' convert -- foo.jpeg -format tga /dev/null |
---|
26 | |
---|
27 | Fuzz the input of VLC, using file movie.avi as the original input, and |
---|
28 | generate fuzzy-movie.avi which is a file that can be fed to VLC to reproduce |
---|
29 | the behaviour without using zzuf: |
---|
30 | |
---|
31 | # zzuf -s 87423 -r 0.01 vlc movie.avi |
---|
32 | |
---|
33 | # zzuf -s 87423 -r 0.01 cp movie.avi fuzzy-movie.avi |
---|
34 | # vlc fuzzy-movie.avi |
---|
35 | |
---|
36 | Fuzz mplayer's input with seeds 0 to 9999, launching up to 3 simultaneous |
---|
37 | child processes and killing mplayer if it takes more than one minute to read |
---|
38 | the file: |
---|
39 | |
---|
40 | # zzuf -q -s 0:10000 -F 3 -T 60 -r 0.02 -i movie.avi \ |
---|
41 | mplayer movie.avi -- -benchmark -vo null -fps 1000 |
---|
42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.