diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index f532eeadd..8e0c82e4e 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1673,6 +1673,9 @@ class Enumeration: stackedTest() if not kb.stackedTest and not conf.direct: + warnMsg = "sql query option is only available " + warnMsg += "when stacked queries are supported" + logger.warn(warnMsg) return None else: if sqlType: