Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d72db1b

Browse files
committed
minor update (all misc options are alphabetically ordered)
1 parent bedf16b commit d72db1b

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
"checkPayload": "boolean",
169169
"cleanup": "boolean",
170170
"crawlDepth": "integer",
171+
"dependencies": "boolean",
171172
"forms": "boolean",
172173
"googlePage": "integer",
173174
"mobile": "boolean",
@@ -176,7 +177,6 @@
176177
"replicate": "boolean",
177178
"tor": "boolean",
178179
"wizard": "boolean",
179-
"dependencies": "boolean",
180180
"verbose": "integer"
181181
},
182182
}

lib/parse/cmdline.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,10 @@ def cmdLineParser():
514514
miscellaneous.add_option("--crawl", dest="crawlDepth", type="int",
515515
help="Crawl the website starting from the target url")
516516

517+
miscellaneous.add_option("--dependencies", dest="dependencies",
518+
action="store_true",
519+
help="Check for missing sqlmap dependencies")
520+
517521
miscellaneous.add_option("--forms", dest="forms",
518522
action="store_true",
519523
help="Parse and test forms on target url")
@@ -545,10 +549,6 @@ def cmdLineParser():
545549
action="store_true",
546550
help="Simple wizard interface for beginner users")
547551

548-
miscellaneous.add_option("--dependencies", dest="dependencies",
549-
action="store_true",
550-
help="Check for missing sqlmap dependencies")
551-
552552
# Hidden and/or experimental options
553553
parser.add_option("--profile", dest="profile", action="store_true",
554554
help=SUPPRESS_HELP)

sqlmap.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,10 @@ cleanup = False
548548
# Default: 0
549549
crawlDepth = 0
550550

551+
# Show which sqlmap dependencies are not available.
552+
# Valid: True or False
553+
dependencies = False
554+
551555
# Parse and test forms on target url
552556
# Valid: True or False
553557
forms = False
@@ -581,10 +585,6 @@ tor = False
581585
# Valid: True or False
582586
wizard = False
583587

584-
# Show which sqlmap dependencies are not available.
585-
# Valid: True or False
586-
dependencies = False
587-
588588
# Verbosity level.
589589
# Valid: integer between 0 and 6
590590
# 0: Show only error and critical messages

0 commit comments

Comments
 (0)