mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
don't let sqlmapNoneDataException for one table to break whole dumpAll()
This commit is contained in:
parent
dbbaefa79d
commit
384ca98ded
|
@ -1493,6 +1493,7 @@ class Enumeration:
|
||||||
conf.db = db
|
conf.db = db
|
||||||
|
|
||||||
for table in tables:
|
for table in tables:
|
||||||
|
try:
|
||||||
conf.tbl = table
|
conf.tbl = table
|
||||||
kb.data.cachedColumns = {}
|
kb.data.cachedColumns = {}
|
||||||
kb.data.dumpedTable = {}
|
kb.data.dumpedTable = {}
|
||||||
|
@ -1501,6 +1502,10 @@ class Enumeration:
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
conf.dumper.dbTableValues(data)
|
conf.dumper.dbTableValues(data)
|
||||||
|
except sqlmapNoneDataException:
|
||||||
|
infoMsg = "skipping table '%s'" % table
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
|
|
||||||
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