diff --git a/lib/core/optiondict.py b/lib/core/optiondict.py index 2a52b27eb..231b52e1d 100644 --- a/lib/core/optiondict.py +++ b/lib/core/optiondict.py @@ -168,6 +168,7 @@ optDict = { "checkPayload": "boolean", "cleanup": "boolean", "crawlDepth": "integer", + "dependencies": "boolean", "forms": "boolean", "googlePage": "integer", "mobile": "boolean", @@ -176,7 +177,6 @@ optDict = { "replicate": "boolean", "tor": "boolean", "wizard": "boolean", - "dependencies": "boolean", "verbose": "integer" }, } diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 44c070365..abc744059 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -514,6 +514,10 @@ def cmdLineParser(): miscellaneous.add_option("--crawl", dest="crawlDepth", type="int", help="Crawl the website starting from the target url") + miscellaneous.add_option("--dependencies", dest="dependencies", + action="store_true", + help="Check for missing sqlmap dependencies") + miscellaneous.add_option("--forms", dest="forms", action="store_true", help="Parse and test forms on target url") @@ -545,10 +549,6 @@ def cmdLineParser(): action="store_true", help="Simple wizard interface for beginner users") - miscellaneous.add_option("--dependencies", dest="dependencies", - action="store_true", - help="Check for missing sqlmap dependencies") - # Hidden and/or experimental options parser.add_option("--profile", dest="profile", action="store_true", help=SUPPRESS_HELP) diff --git a/sqlmap.conf b/sqlmap.conf index e9be8818b..a1b03dcfd 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -548,6 +548,10 @@ cleanup = False # Default: 0 crawlDepth = 0 +# Show which sqlmap dependencies are not available. +# Valid: True or False +dependencies = False + # Parse and test forms on target url # Valid: True or False forms = False @@ -581,10 +585,6 @@ tor = False # Valid: True or False wizard = False -# Show which sqlmap dependencies are not available. -# Valid: True or False -dependencies = False - # Verbosity level. # Valid: integer between 0 and 6 # 0: Show only error and critical messages