From d400dc27f2f5e62bdb6148236053238b6739079b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 8 Nov 2014 21:54:34 +0100 Subject: [PATCH] Patch for an Issue #907 --- plugins/generic/entries.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/plugins/generic/entries.py b/plugins/generic/entries.py index b06306d65..7fac3c903 100644 --- a/plugins/generic/entries.py +++ b/plugins/generic/entries.py @@ -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: