mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
bug fix (--tables --columns)
This commit is contained in:
parent
5c162efbd8
commit
9c694ce3ec
|
@ -1006,7 +1006,10 @@ class Enumeration:
|
||||||
self.getTables()
|
self.getTables()
|
||||||
|
|
||||||
if len(kb.data.cachedTables) > 0:
|
if len(kb.data.cachedTables) > 0:
|
||||||
tblList = kb.data.cachedTables.values()
|
if conf.db in kb.data.cachedTables:
|
||||||
|
tblList = kb.data.cachedTables[conf.db]
|
||||||
|
else:
|
||||||
|
tblList = kb.data.cachedTables.values()
|
||||||
|
|
||||||
if isinstance(tblList[0], (set, tuple, list)):
|
if isinstance(tblList[0], (set, tuple, list)):
|
||||||
tblList = tblList[0]
|
tblList = tblList[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user