diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 4422dbd49..ea861c8aa 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1628,6 +1628,7 @@ class Enumeration: "table": unsafeSQLIdentificatorNaming(tbl), "db": unsafeSQLIdentificatorNaming(conf.db) } + attackDumpedTable() conf.dumper.dbTableValues(kb.data.dumpedTable) else: warnMsg = "unable to retrieve the entries of " @@ -1646,8 +1647,6 @@ class Enumeration: errMsg += "'%s'" % e logger.critical(errMsg) - attackDumpedTable() - def dumpAll(self): if conf.db is not None and conf.tbl is None: self.dumpTable()