mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
Minor update
This commit is contained in:
parent
214d9aaf4b
commit
03c4eb8338
|
@ -47,6 +47,7 @@ optDict = {
|
|||
"saFreq": "integer",
|
||||
"skipUrlEncode": "boolean",
|
||||
"evalCode": "string",
|
||||
"forceSSL": "boolean",
|
||||
},
|
||||
|
||||
"Optimization": {
|
||||
|
@ -178,7 +179,6 @@ optDict = {
|
|||
"dumpFormat": "string",
|
||||
"eta": "boolean",
|
||||
"flushSession": "boolean",
|
||||
"forceSSL": "boolean",
|
||||
"forms": "boolean",
|
||||
"freshQueries": "boolean",
|
||||
"hexConvert": "boolean",
|
||||
|
|
|
@ -157,6 +157,10 @@ def cmdLineParser():
|
|||
request.add_option("--eval", dest="evalCode",
|
||||
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")")
|
||||
|
||||
request.add_option("--force-ssl", dest="forceSSL",
|
||||
action="store_true",
|
||||
help="Force usage of SSL/HTTPS")
|
||||
|
||||
# Optimization options
|
||||
optimization = OptionGroup(parser, "Optimization", "These "
|
||||
"switches can be used to optimize the "
|
||||
|
@ -560,10 +564,6 @@ 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")
|
||||
|
|
|
@ -138,6 +138,9 @@ skipUrlEncode = False
|
|||
# Example: import hashlib;id2=hashlib.md5(id).hexdigest()
|
||||
evalCode =
|
||||
|
||||
# Force usage of SSL/HTTPS
|
||||
# Valid: True or False
|
||||
forceSSL = False
|
||||
|
||||
# These options can be used to optimize the performance of sqlmap.
|
||||
[Optimization]
|
||||
|
@ -614,10 +617,6 @@ 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