-
Notifications
You must be signed in to change notification settings - Fork 197
Controling the output
Wapiti provides several options to control and customize the output displayed during a scan. This section covers options for colorized output, verbosity levels, and logging to a file.
The --color
option enables colorized output to make it easier to distinguish different levels of information based on severity. The colors used are:
- Red: Critical issues
- Orange: Warnings
- Green: Informational messages
This helps quickly identify important information while viewing scan results in the terminal.
Usage:
wapiti -u http://example.com --color
The --verbose
option allows you to adjust the amount of detail displayed during the scan. It has three possible levels:
-
0
(quiet): Suppresses most output, show only vulnerability findings. -
1
(normal): The default verbosity level, show attacked URLs along with findings. -
2
(verbose): Displays detailed output, every mutated HTTP request will be displayed.
Usage:
wapiti -u http://example.com --verbose 2
In this case, Wapiti will output detailed information about the scanning process.
The --log
option allows you to save the output to a file in addition to displaying it on the console. This log file will also include debug information, making it useful for debugging purposes.
Usage:
wapiti -u http://example.com --log /path/to/logfile.txt
The output will be written to logfile.txt
, containing all scan and debug information.