Update for an Issue #1836

This commit is contained in:
Miroslav Stampar 2016-05-03 12:37:10 +02:00
parent 34c2172391
commit 3bf08290a4
4 changed files with 15 additions and 12 deletions

View File

@ -136,6 +136,8 @@ optDict = {
"tbl": "string",
"col": "string",
"excludeCol": "string",
"pivotColumn": "string",
"binaryFields": "string",
"dumpWhere": "string",
"user": "string",
"excludeSysDbs": "boolean",
@ -201,7 +203,6 @@ optDict = {
"hexConvert": "boolean",
"outputDir": "string",
"parseErrors": "boolean",
"pivotColumn": "string",
"saveConfig": "string",
"scope": "string",
"testFilter": "string",
@ -228,7 +229,6 @@ optDict = {
"Hidden": {
"dummy": "boolean",
"disablePrecon": "boolean",
"binaryFields": "string",
"profile": "boolean",
"forceDns": "boolean",
"identifyWaf": "boolean",

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.5.6"
VERSION = "1.0.5.7"
REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -464,6 +464,12 @@ def cmdLineParser(argv=None):
help="Exclude DBMS system databases when "
"enumerating tables")
enumeration.add_option("--binary-fields", dest="binaryFields",
help="Result fields having binary values (e.g. \"digest\")")
enumeration.add_option("--pivot-column", dest="pivotColumn",
help="Pivot column name")
enumeration.add_option("--where", dest="dumpWhere",
help="Use WHERE condition while table dumping")
@ -662,9 +668,6 @@ def cmdLineParser(argv=None):
action="store_true",
help="Parse and display DBMS error messages from responses")
general.add_option("--pivot-column", dest="pivotColumn",
help="Pivot column name")
general.add_option("--save", dest="saveConfig",
help="Save options to a configuration INI file")
@ -760,9 +763,6 @@ def cmdLineParser(argv=None):
parser.add_option("--profile", dest="profile", action="store_true",
help=SUPPRESS_HELP)
parser.add_option("--binary-fields", dest="binaryFields",
help=SUPPRESS_HELP)
parser.add_option("--force-dns", dest="forceDns", action="store_true",
help=SUPPRESS_HELP)

View File

@ -482,6 +482,12 @@ col =
# Back-end database management system database table column(s) to not enumerate.
excludeCol =
# Result fields having binary values (e.g. "digest").
binaryFields =
# Pivot column name.
pivotColumn =
# Use WHERE condition while table dumping (e.g. "id=1").
dumpWhere =
@ -697,9 +703,6 @@ outputDir =
# Valid: True or False
parseErrors = False
# Pivot column name.
pivotColumn =
# Regular expression for filtering targets from provided Burp.
# or WebScarab proxy log.
# Example: (google|yahoo)