Minor update

This commit is contained in:
stamparm 2013-04-30 13:56:38 +02:00
parent 214d9aaf4b
commit 03c4eb8338
3 changed files with 8 additions and 9 deletions

View File

@ -47,6 +47,7 @@ optDict = {
"saFreq": "integer", "saFreq": "integer",
"skipUrlEncode": "boolean", "skipUrlEncode": "boolean",
"evalCode": "string", "evalCode": "string",
"forceSSL": "boolean",
}, },
"Optimization": { "Optimization": {
@ -178,7 +179,6 @@ optDict = {
"dumpFormat": "string", "dumpFormat": "string",
"eta": "boolean", "eta": "boolean",
"flushSession": "boolean", "flushSession": "boolean",
"forceSSL": "boolean",
"forms": "boolean", "forms": "boolean",
"freshQueries": "boolean", "freshQueries": "boolean",
"hexConvert": "boolean", "hexConvert": "boolean",

View File

@ -157,6 +157,10 @@ def cmdLineParser():
request.add_option("--eval", dest="evalCode", request.add_option("--eval", dest="evalCode",
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")") 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 options
optimization = OptionGroup(parser, "Optimization", "These " optimization = OptionGroup(parser, "Optimization", "These "
"switches can be used to optimize the " "switches can be used to optimize the "
@ -560,10 +564,6 @@ def cmdLineParser():
action="store_true", action="store_true",
help="Flush session files for current target") 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", general.add_option("--forms", dest="forms",
action="store_true", action="store_true",
help="Parse and test forms on target URL") help="Parse and test forms on target URL")

View File

@ -138,6 +138,9 @@ skipUrlEncode = False
# Example: import hashlib;id2=hashlib.md5(id).hexdigest() # Example: import hashlib;id2=hashlib.md5(id).hexdigest()
evalCode = evalCode =
# Force usage of SSL/HTTPS
# Valid: True or False
forceSSL = False
# These options can be used to optimize the performance of sqlmap. # These options can be used to optimize the performance of sqlmap.
[Optimization] [Optimization]
@ -614,10 +617,6 @@ eta = False
# Valid: True or False # Valid: True or False
flushSession = False flushSession = False
# Force usage of SSL/HTTPS requests
# Valid: True or False
forceSSL = False
# Parse and test forms on target URL. # Parse and test forms on target URL.
# Valid: True or False # Valid: True or False
forms = False forms = False