Changeset 1562 for zzuf


Ignore:
Timestamp:
Jan 5, 2007, 9:01:06 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Change -N to -n for --network.
Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r1561 r1562  
    33zzuf \- multiple purpose fuzzer
    44.SH SYNOPSIS
    5 \fBzzuf\fR [\fB\-cdiNqS\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR | \fB\-s\fR \fIstart:stop\fR]
     5\fBzzuf\fR [\fB\-cdinqS\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR | \fB\-s\fR \fIstart:stop\fR]
    66.br
    77               [\fB\-F\fR \fIchildren\fR] [\fB\-B\fR \fIbytes\fR] [\fB\-T\fR \fIseconds\fR]
     
    7878of the regular expressions will be fuzzed. See also the \fB\-c\fR flag.
    7979.TP
    80 \fB\-N\fR, \fB\-\-network\fR
     80\fB\-n\fR, \fB\-\-network\fR
    8181Fuzz the application's network input. By default \fBzzuf\fR only fuzzes files.
    8282.TP
  • zzuf/trunk/src/zzuf.c

    r1560 r1562  
    111111            { "stdin",     0, NULL, 'i' },
    112112            { "include",   1, NULL, 'I' },
    113             { "network",   1, NULL, 'N' },
     113            { "network",   0, NULL, 'n' },
    114114            { "protect",   1, NULL, 'P' },
    115115            { "quiet",     0, NULL, 'q' },
     
    121121            { "version",   0, NULL, 'v' },
    122122        };
    123         int c = getopt_long(argc, argv, "B:cdE:F:hiI:NP:qr:R:s:ST:v",
     123        int c = getopt_long(argc, argv, "B:cdE:F:hiI:nP:qr:R:s:ST:v",
    124124                            long_options, &option_index);
    125125#   else
    126126#       define MOREINFO "Try `%s -h' for more information.\n"
    127         int c = getopt(argc, argv, "B:cdE:F:hiI:NP:qr:R:s:ST:v");
     127        int c = getopt(argc, argv, "B:cdE:F:hiI:nP:qr:R:s:ST:v");
    128128#   endif
    129129        if(c == -1)
     
    154154            setenv("ZZUF_STDIN", "1", 1);
    155155            break;
    156         case 'N': /* --network */
     156        case 'n': /* --network */
    157157            setenv("ZZUF_NETWORK", "1", 1);
    158158            break;
     
    554554static void usage(void)
    555555{
    556     printf("Usage: zzuf [ -cdiNqS ] [ -r ratio ] [ -s seed | -s start:stop ]\n");
     556    printf("Usage: zzuf [ -cdinqS ] [ -r ratio ] [ -s seed | -s start:stop ]\n");
    557557    printf("                        [ -F children ] [ -B bytes ] [ -T seconds ]\n");
    558558    printf("                        [ -P protect ] [ -R refuse ]\n");
     
    571571    printf("  -i, --stdin              fuzz standard input\n");
    572572    printf("  -I, --include <regex>    only fuzz files matching <regex>\n");
    573     printf("  -N, --network            fuzz network input\n");
     573    printf("  -n, --network            fuzz network input\n");
    574574    printf("  -P, --protect <list>     protect bytes and characters in <list>\n");
    575575    printf("  -q, --quiet              do not print children's messages\n");
     
    590590    printf("  -i               fuzz standard input\n");
    591591    printf("  -I <regex>       only fuzz files matching <regex>\n");
    592     printf("  -N               fuzz network input\n");
     592    printf("  -n               fuzz network input\n");
    593593    printf("  -P <list>        protect bytes and characters in <list>\n");
    594594    printf("  -q               do not print the fuzzed application's messages\n");
Note: See TracChangeset for help on using the changeset viewer.