mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor fix
This commit is contained in:
parent
d7dbf814a0
commit
c8fe2fa8d8
|
@ -1260,21 +1260,22 @@ class Enumeration:
|
||||||
kb.data.cachedDbs = []
|
kb.data.cachedDbs = []
|
||||||
kb.data.cachedTables = self.getTables()
|
kb.data.cachedTables = self.getTables()
|
||||||
|
|
||||||
if isinstance(kb.data.cachedTables, list):
|
if kb.data.cachedTables:
|
||||||
kb.data.cachedTables = { None : kb.data.cachedTables }
|
if isinstance(kb.data.cachedTables, list):
|
||||||
|
kb.data.cachedTables = { None : kb.data.cachedTables }
|
||||||
|
|
||||||
for db, tables in kb.data.cachedTables.items():
|
for db, tables in kb.data.cachedTables.items():
|
||||||
conf.db = db
|
conf.db = db
|
||||||
|
|
||||||
for table in tables:
|
for table in tables:
|
||||||
conf.tbl = table
|
conf.tbl = table
|
||||||
kb.data.cachedColumns = {}
|
kb.data.cachedColumns = {}
|
||||||
kb.data.dumpedTable = {}
|
kb.data.dumpedTable = {}
|
||||||
|
|
||||||
data = self.dumpTable()
|
data = self.dumpTable()
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
conf.dumper.dbTableValues(data)
|
conf.dumper.dbTableValues(data)
|
||||||
|
|
||||||
def dumpFoundColumn(self, dbs, foundCols, colConsider):
|
def dumpFoundColumn(self, dbs, foundCols, colConsider):
|
||||||
if not dbs:
|
if not dbs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user