Skip to content

Commit be9b103

Browse files
committed
minor bug fix
1 parent 012fc21 commit be9b103

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

plugins/generic/enumeration.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,6 +2148,7 @@ def searchColumn(self):
21482148
foundCols = {}
21492149
dbs = {}
21502150
whereDbsQuery = ""
2151+
whereTblsQuery = ""
21512152
colList = conf.col.split(",")
21522153
colCond = rootQuery.inband.condition
21532154
dbCond = rootQuery.inband.condition2
@@ -2181,6 +2182,8 @@ def searchColumn(self):
21812182
whereDbsQuery = "".join(" AND %s != '%s'" % (dbCond, unsafeSQLIdentificatorNaming(db)) for db in self.excludeDbsList)
21822183
infoMsg2 = "skipping system database%s '%s'" % ("s" if len(self.excludeDbsList) > 1 else "", ", ".join(db for db in self.excludeDbsList))
21832184
logger.info(infoMsg2)
2185+
else:
2186+
infoMsg += " across all databases"
21842187

21852188
logger.info(infoMsg)
21862189

0 commit comments

Comments
 (0)