Properly document the -a flag.

This commit is contained in:
Sam Hocevar 2010-01-31 12:04:56 +00:00 committed by sam
parent 05ea84ecf4
commit 5a967b990b
2 changed files with 13 additions and 4 deletions

View File

@ -1,8 +1,8 @@
.TH zzuf 1 "2010-01-06" "zzuf @PACKAGE_VERSION@"
.TH zzuf 1 "2010-01-31" "zzuf @PACKAGE_VERSION@"
.SH NAME
zzuf \- multiple purpose fuzzer
.SH SYNOPSIS
\fBzzuf\fR [\fB\-AcdimnqSvx\fR]
\fBzzuf\fR [\fB\-aAcdimnqSvx\fR]
[\fB\-s\fR \fIseed\fR|\fB\-s\fR \fIstart:stop\fR]
[\fB\-r\fR \fIratio\fR|\fB\-r\fR \fImin:max\fR]
[\fB\-f\fR \fIfuzzing\fR] [\fB\-D\fR \fIdelay\fR] [\fB\-j\fR \fIjobs\fR]
@ -40,6 +40,15 @@ if the \fBcat\fR utility had been called:
\fB zzuf < /dev/zero\fR
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-allow\fR=\fIlist\fR
Only fuzz network input for IPs in \fIlist\fR, a comma-separated list of
IP addresses. If the list starts with \fB!\fR, the flag meaning is reversed
and all addresses are fuzzed except the ones in the list.
As of now, this flag only understands INET (IPv4) addresses.
This option requires network fuzzing to be activated using \fB\-n\fR.
.TP
\fB\-A\fR, \fB\-\-autoinc\fR
Increment random seed each time a new file is opened. This is only required
if one instance of the application is expected to open the same file several

View File

@ -958,9 +958,9 @@ static void version(void)
static void usage(void)
{
#if defined HAVE_REGEX_H
printf("Usage: zzuf [-AcdimnqSvx] [-s seed|-s start:stop] [-r ratio|-r min:max]\n");
printf("Usage: zzuf [-aAcdimnqSvx] [-s seed|-s start:stop] [-r ratio|-r min:max]\n");
#else
printf("Usage: zzuf [-AdimnqSvx] [-s seed|-s start:stop] [-r ratio|-r min:max]\n");
printf("Usage: zzuf [-aAdimnqSvx] [-s seed|-s start:stop] [-r ratio|-r min:max]\n");
#endif
printf(" [-f mode] [-D delay] [-j jobs] [-C crashes] [-B bytes] [-a list]\n");
printf(" [-t seconds]");