mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Update for an Issue #1836
This commit is contained in:
parent
34c2172391
commit
3bf08290a4
|
@ -136,6 +136,8 @@ optDict = {
|
||||||
"tbl": "string",
|
"tbl": "string",
|
||||||
"col": "string",
|
"col": "string",
|
||||||
"excludeCol": "string",
|
"excludeCol": "string",
|
||||||
|
"pivotColumn": "string",
|
||||||
|
"binaryFields": "string",
|
||||||
"dumpWhere": "string",
|
"dumpWhere": "string",
|
||||||
"user": "string",
|
"user": "string",
|
||||||
"excludeSysDbs": "boolean",
|
"excludeSysDbs": "boolean",
|
||||||
|
@ -201,7 +203,6 @@ optDict = {
|
||||||
"hexConvert": "boolean",
|
"hexConvert": "boolean",
|
||||||
"outputDir": "string",
|
"outputDir": "string",
|
||||||
"parseErrors": "boolean",
|
"parseErrors": "boolean",
|
||||||
"pivotColumn": "string",
|
|
||||||
"saveConfig": "string",
|
"saveConfig": "string",
|
||||||
"scope": "string",
|
"scope": "string",
|
||||||
"testFilter": "string",
|
"testFilter": "string",
|
||||||
|
@ -228,7 +229,6 @@ optDict = {
|
||||||
"Hidden": {
|
"Hidden": {
|
||||||
"dummy": "boolean",
|
"dummy": "boolean",
|
||||||
"disablePrecon": "boolean",
|
"disablePrecon": "boolean",
|
||||||
"binaryFields": "string",
|
|
||||||
"profile": "boolean",
|
"profile": "boolean",
|
||||||
"forceDns": "boolean",
|
"forceDns": "boolean",
|
||||||
"identifyWaf": "boolean",
|
"identifyWaf": "boolean",
|
||||||
|
|
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
||||||
from lib.core.revision import getRevisionNumber
|
from lib.core.revision import getRevisionNumber
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.0.5.6"
|
VERSION = "1.0.5.7"
|
||||||
REVISION = getRevisionNumber()
|
REVISION = getRevisionNumber()
|
||||||
STABLE = VERSION.count('.') <= 2
|
STABLE = VERSION.count('.') <= 2
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||||
|
|
|
@ -464,6 +464,12 @@ def cmdLineParser(argv=None):
|
||||||
help="Exclude DBMS system databases when "
|
help="Exclude DBMS system databases when "
|
||||||
"enumerating tables")
|
"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",
|
enumeration.add_option("--where", dest="dumpWhere",
|
||||||
help="Use WHERE condition while table dumping")
|
help="Use WHERE condition while table dumping")
|
||||||
|
|
||||||
|
@ -662,9 +668,6 @@ def cmdLineParser(argv=None):
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Parse and display DBMS error messages from responses")
|
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",
|
general.add_option("--save", dest="saveConfig",
|
||||||
help="Save options to a configuration INI file")
|
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",
|
parser.add_option("--profile", dest="profile", action="store_true",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
parser.add_option("--binary-fields", dest="binaryFields",
|
|
||||||
help=SUPPRESS_HELP)
|
|
||||||
|
|
||||||
parser.add_option("--force-dns", dest="forceDns", action="store_true",
|
parser.add_option("--force-dns", dest="forceDns", action="store_true",
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
|
|
|
@ -482,6 +482,12 @@ col =
|
||||||
# Back-end database management system database table column(s) to not enumerate.
|
# Back-end database management system database table column(s) to not enumerate.
|
||||||
excludeCol =
|
excludeCol =
|
||||||
|
|
||||||
|
# Result fields having binary values (e.g. "digest").
|
||||||
|
binaryFields =
|
||||||
|
|
||||||
|
# Pivot column name.
|
||||||
|
pivotColumn =
|
||||||
|
|
||||||
# Use WHERE condition while table dumping (e.g. "id=1").
|
# Use WHERE condition while table dumping (e.g. "id=1").
|
||||||
dumpWhere =
|
dumpWhere =
|
||||||
|
|
||||||
|
@ -697,9 +703,6 @@ outputDir =
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
parseErrors = False
|
parseErrors = False
|
||||||
|
|
||||||
# Pivot column name.
|
|
||||||
pivotColumn =
|
|
||||||
|
|
||||||
# Regular expression for filtering targets from provided Burp.
|
# Regular expression for filtering targets from provided Burp.
|
||||||
# or WebScarab proxy log.
|
# or WebScarab proxy log.
|
||||||
# Example: (google|yahoo)
|
# Example: (google|yahoo)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user