mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
this way order given in -C is preserved
This commit is contained in:
@@ -1114,7 +1114,10 @@ class Enumeration:
|
|||||||
|
|
||||||
kb.data.cachedColumns = self.getColumns(onlyColNames=True)
|
kb.data.cachedColumns = self.getColumns(onlyColNames=True)
|
||||||
|
|
||||||
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
|
if conf.col:
|
||||||
|
colList = conf.col.split(",")
|
||||||
|
else:
|
||||||
|
colList = kb.data.cachedColumns[conf.db][conf.tbl].keys()
|
||||||
|
|
||||||
if colList in ([None], ['None']):
|
if colList in ([None], ['None']):
|
||||||
warnMsg = "unable to retrieve column names"
|
warnMsg = "unable to retrieve column names"
|
||||||
|
|||||||
Reference in New Issue
Block a user