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",
"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",

View File

@ -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")

View File

@ -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