mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 22:21:30 +00:00
don't let sqlmapNoneDataException for one table to break whole dumpAll()
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user