mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
Moving --force-ssl from [Request] to [General] options
This commit is contained in:
parent
76a0d20799
commit
4b5335a323
|
@ -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",
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -68,10 +68,6 @@ referer =
|
|||
# Randomly change value for the given parameter
|
||||
rParam =
|
||||
|
||||
# Force usage of SSL/HTTPS requests
|
||||
# Valid: True or False
|
||||
forceSSL = False
|
||||
|
||||
# Extra HTTP headers
|
||||
headers = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
|
||||
Accept-Language: en-us,en;q=0.5
|
||||
|
@ -618,6 +614,10 @@ eta = False
|
|||
# Valid: True or False
|
||||
flushSession = False
|
||||
|
||||
# Force usage of SSL/HTTPS requests
|
||||
# Valid: True or False
|
||||
forceSSL = False
|
||||
|
||||
# Parse and test forms on target URL.
|
||||
# Valid: True or False
|
||||
forms = False
|
||||
|
|
Loading…
Reference in New Issue
Block a user