Moving --force-ssl from [Request] to [General] options

This commit is contained in:
Miroslav Stampar
2013-04-02 17:18:21 +02:00
parent 76a0d20799
commit 4b5335a323
3 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,6 @@ optDict = {
"agent": "string",
"randomAgent": "boolean",
"rParam": "string",
"forceSSL": "boolean",
"host": "string",
"referer": "string",
"headers": "string",
@@ -179,6 +178,7 @@ optDict = {
"dumpFormat": "string",
"eta": "boolean",
"flushSession": "boolean",
"forceSSL": "boolean",
"forms": "boolean",
"freshQueries": "boolean",
"hexConvert": "boolean",

View File

@@ -100,10 +100,6 @@ def cmdLineParser():
request.add_option("--randomize", dest="rParam",
help="Randomly change value for given parameter(s)")
request.add_option("--force-ssl", dest="forceSSL",
action="store_true",
help="Force usage of SSL/HTTPS requests")
request.add_option("--host", dest="host",
help="HTTP Host header")
@@ -568,6 +564,10 @@ def cmdLineParser():
action="store_true",
help="Flush session files for current target")
general.add_option("--force-ssl", dest="forceSSL",
action="store_true",
help="Force usage of SSL/HTTPS requests")
general.add_option("--forms", dest="forms",
action="store_true",
help="Parse and test forms on target URL")