Skip to content

Controling the output

devloop edited this page Sep 27, 2024 · 1 revision

Output Configuration

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.


--color: Colorized Output

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

-v / --verbose: Set Output Verbosity Level

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.


--log: Log Output to File

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.