Skip to content

Commit b7d4afc

Browse files
committed
Moving '--pivot-column' to a General section (Issue sqlmapproject#437)
1 parent 9d045e1 commit b7d4afc

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
"getCount": "boolean",
115115
"dumpTable": "boolean",
116116
"dumpAll": "boolean",
117-
"pivotColumn": "string",
118117
"search": "boolean",
119118
"db": "string",
120119
"tbl": "string",
@@ -185,6 +184,7 @@
185184
"hexConvert": "boolean",
186185
"oDir": "string",
187186
"parseErrors": "boolean",
187+
"pivotColumn": "string",
188188
"saveCmdline": "boolean",
189189
"updateAll": "boolean",
190190
"tor": "boolean",

lib/parse/cmdline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,6 @@ def cmdLineParser():
365365
enumeration.add_option("--dump-all", dest="dumpAll", action="store_true",
366366
help="Dump all DBMS databases tables entries")
367367

368-
enumeration.add_option("--pivot-column", dest="pivotColumn",
369-
help="Pivot column name")
370-
371368
enumeration.add_option("--search", dest="search", action="store_true",
372369
help="Search column(s), table(s) and/or database name(s)")
373370

@@ -591,6 +588,9 @@ def cmdLineParser():
591588
action="store_true",
592589
help="Parse and display DBMS error messages from responses")
593590

591+
general.add_option("--pivot-column", dest="pivotColumn",
592+
help="Pivot column name")
593+
594594
general.add_option("--save", dest="saveCmdline",
595595
action="store_true",
596596
help="Save options to a configuration INI file")

sqlmap.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ dumpTable = False
398398
# Valid: True or False
399399
dumpAll = False
400400

401-
# Pivot column name.
402-
pivotColumn =
403-
404401
# Search column(s), table(s) and/or database name(s).
405402
# Requires: db, tbl or col
406403
# Valid: True or False
@@ -640,7 +637,10 @@ oDir =
640637
# Valid: True or False
641638
parseErrors = False
642639

643-
# Use Use Tor anonymity network.
640+
# Pivot column name.
641+
pivotColumn =
642+
643+
# Use Tor anonymity network.
644644
# Valid: True or False
645645
tor = False
646646

0 commit comments

Comments
 (0)