Skip to content

Commit

Permalink
Ordering scope parameters orders
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkiros authored and bretfourbe committed Feb 12, 2024
1 parent 278ce83 commit 206d6ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/wapiti.1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ TARGET SPECIFICATION:
\fB\-\-data\fR \fIURL_ENCODED_DATA\fR
.
.IP "\(bu" 4
\fB\-\-scope\fR {page,folder,domain,url,punk}
\fB\-\-scope\fR {url,page,folder,subdomain,domain,punk}
.
.IP "" 0
.
Expand Down
2 changes: 1 addition & 1 deletion doc/wapiti.1.html

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

2 changes: 1 addition & 1 deletion doc/wapiti.ronn
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TARGET SPECIFICATION:

* `-u`, `--url` <URL>
* `--data` <URL_ENCODED_DATA>
* `--scope` {page,folder,domain,url,punk}
* `--scope` {url,page,folder,subdomain,domain,punk}

ATTACK SPECIFICATION:

Expand Down
2 changes: 1 addition & 1 deletion wapitiCore/parsers/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def parse_args():
"--scope",
help="Set scan scope",
default="folder",
choices=["page", "folder", "subdomain", "domain", "url", "punk"]
choices=["url", "page", "folder", "subdomain", "domain", "punk"]
)

parser.add_argument(
Expand Down

0 comments on commit 206d6ec

Please sign in to comment.