Patch for an Issue #907

This commit is contained in:
Miroslav Stampar 2014-11-08 21:54:34 +01:00
parent 5e9c73f9c1
commit d400dc27f2

View File

@ -337,12 +337,17 @@ class Entries:
kb.data.dumpedTable["__infos__"] = {"count": entriesCount,
"table": safeSQLIdentificatorNaming(tbl, True),
"db": safeSQLIdentificatorNaming(conf.db)}
attackDumpedTable()
try:
attackDumpedTable()
except Exception, ex:
errMsg = "an error occurred while attacking "
errMsg += "table dump ('%s')" % ex
logger.critical(errMsg)
conf.dumper.dbTableValues(kb.data.dumpedTable)
except SqlmapConnectionException, e:
errMsg = "connection exception detected in dumping phase: "
errMsg += "'%s'" % e
except SqlmapConnectionException, ex:
errMsg = "connection exception detected in dumping phase "
errMsg += "('%s')" % ex
logger.critical(errMsg)
finally: