Skip to content

Commit

Permalink
Add swagger option in wapiti doc
Browse files Browse the repository at this point in the history
Signed-off-by: bretfourbe <[email protected]>
  • Loading branch information
bretfourbe committed May 17, 2024
1 parent e39487c commit cce41f5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/wapiti.1
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,15 @@ If the given parameter is found in scanned URL it will be automatically removed
This option can be used several times\.
.
.IP "\(bu" 4
\fB\-\-swagger\fR \fIURL\fR
.
.br
Extract API requests from the specified Swagger file\.
.
.br
Extracted requests are added to the crawler\.
.
.IP "\(bu" 4
\fB\-\-skip\fR \fIPARAMETER\fR
.
.br
Expand Down
4 changes: 4 additions & 0 deletions doc/wapiti.1.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions doc/wapiti.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ SCAN AND ATTACKS TUNING:

* `-s`, `--start` <URL>
* `-x`, `--exclude` <URL>
* `--swagger` <URL>
* `-r`, `--remove` <PARAMETER>
* `--skip` <PARAMETER>
* `-d`, `--depth` <DEPTH>
Expand Down Expand Up @@ -243,6 +244,10 @@ Following options allows you to bypass this behavior/
Prevent the given URL from being scanned. Common use is to exclude the logout URL to prevent the destruction of session cookies (if you specified a cookie file with --cookie).
This option can be applied several times. Excluded URL given as a parameter can contain wildcards for basic pattern matching.

* `--swagger` <URL>
Extract API requests from the specified Swagger file.
Extracted requests are added to the crawler.

* `-r`, `--remove` <PARAMETER>
If the given parameter is found in scanned URL it will be automatically removed (URLs are edited).
This option can be used several times.
Expand Down

0 comments on commit cce41f5

Please sign in to comment.