mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor bug fix to correctly dump table entries when the column is provided
This commit is contained in:
parent
be599d5a33
commit
2a01de3f0b
3 changed files with 12 additions and 2 deletions
|
|
@ -824,6 +824,7 @@ class Enumeration:
|
|||
rootQuery = queries[kb.dbms].dumpTable
|
||||
|
||||
if conf.col:
|
||||
colList = conf.col.split(",")
|
||||
self.cachedColumns[conf.db] = {}
|
||||
self.cachedColumns[conf.db][conf.tbl] = {}
|
||||
for column in colList:
|
||||
|
|
@ -842,8 +843,6 @@ class Enumeration:
|
|||
|
||||
logMsg = "fetching"
|
||||
if conf.col:
|
||||
colList = conf.col.split(",")
|
||||
colString = ", ".join(column for column in colList)
|
||||
logMsg += " columns '%s'" % colString
|
||||
logMsg += " entries for table '%s'" % conf.tbl
|
||||
logMsg += " on database '%s'" % conf.db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue