Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3bf0829

Browse files
committed
Update for an Issue #1836
1 parent 34c2172 commit 3bf0829

4 files changed

Lines changed: 15 additions & 12 deletions

File tree

lib/core/optiondict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@
136136
"tbl": "string",
137137
"col": "string",
138138
"excludeCol": "string",
139+
"pivotColumn": "string",
140+
"binaryFields": "string",
139141
"dumpWhere": "string",
140142
"user": "string",
141143
"excludeSysDbs": "boolean",
@@ -201,7 +203,6 @@
201203
"hexConvert": "boolean",
202204
"outputDir": "string",
203205
"parseErrors": "boolean",
204-
"pivotColumn": "string",
205206
"saveConfig": "string",
206207
"scope": "string",
207208
"testFilter": "string",
@@ -228,7 +229,6 @@
228229
"Hidden": {
229230
"dummy": "boolean",
230231
"disablePrecon": "boolean",
231-
"binaryFields": "string",
232232
"profile": "boolean",
233233
"forceDns": "boolean",
234234
"identifyWaf": "boolean",

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.6"
22+
VERSION = "1.0.5.7"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/parse/cmdline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,12 @@ def cmdLineParser(argv=None):
464464
help="Exclude DBMS system databases when "
465465
"enumerating tables")
466466

467+
enumeration.add_option("--binary-fields", dest="binaryFields",
468+
help="Result fields having binary values (e.g. \"digest\")")
469+
470+
enumeration.add_option("--pivot-column", dest="pivotColumn",
471+
help="Pivot column name")
472+
467473
enumeration.add_option("--where", dest="dumpWhere",
468474
help="Use WHERE condition while table dumping")
469475

@@ -662,9 +668,6 @@ def cmdLineParser(argv=None):
662668
action="store_true",
663669
help="Parse and display DBMS error messages from responses")
664670

665-
general.add_option("--pivot-column", dest="pivotColumn",
666-
help="Pivot column name")
667-
668671
general.add_option("--save", dest="saveConfig",
669672
help="Save options to a configuration INI file")
670673

@@ -760,9 +763,6 @@ def cmdLineParser(argv=None):
760763
parser.add_option("--profile", dest="profile", action="store_true",
761764
help=SUPPRESS_HELP)
762765

763-
parser.add_option("--binary-fields", dest="binaryFields",
764-
help=SUPPRESS_HELP)
765-
766766
parser.add_option("--force-dns", dest="forceDns", action="store_true",
767767
help=SUPPRESS_HELP)
768768

sqlmap.conf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@ col =
482482
# Back-end database management system database table column(s) to not enumerate.
483483
excludeCol =
484484

485+
# Result fields having binary values (e.g. "digest").
486+
binaryFields =
487+
488+
# Pivot column name.
489+
pivotColumn =
490+
485491
# Use WHERE condition while table dumping (e.g. "id=1").
486492
dumpWhere =
487493

@@ -697,9 +703,6 @@ outputDir =
697703
# Valid: True or False
698704
parseErrors = False
699705

700-
# Pivot column name.
701-
pivotColumn =
702-
703706
# Regular expression for filtering targets from provided Burp.
704707
# or WebScarab proxy log.
705708
# Example: (google|yahoo)

0 commit comments

Comments
 (0)