mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Patch for an Issue #795
This commit is contained in:
parent
2ce3ccac46
commit
e3a0f25db0
|
@ -399,6 +399,10 @@ class Dump(object):
|
||||||
|
|
||||||
columns = prioritySortColumns(tableValues.keys())
|
columns = prioritySortColumns(tableValues.keys())
|
||||||
|
|
||||||
|
if conf.col:
|
||||||
|
cols = conf.col.split(',')
|
||||||
|
columns = sorted(columns, key=lambda _: cols.index(_) if _ in cols else 0)
|
||||||
|
|
||||||
for column in columns:
|
for column in columns:
|
||||||
if column != "__infos__":
|
if column != "__infos__":
|
||||||
info = tableValues[column]
|
info = tableValues[column]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user