Minor patch

This commit is contained in:
Miroslav Štampar
2026-06-19 09:45:25 +02:00
parent a2d44a7a16
commit d5d6fac58d
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -1051,6 +1051,11 @@ class Databases(object):
rootQuery = queries[Backend.getIdentifiedDbms()].statements
if "inband" not in rootQuery and "blind" not in rootQuery:
warnMsg = "on %s it is not possible to enumerate the SQL statements" % Backend.getIdentifiedDbms()
logger.warning(warnMsg)
return kb.data.cachedStatements
if any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.UNION, PAYLOAD.TECHNIQUE.ERROR, PAYLOAD.TECHNIQUE.QUERY)) or conf.direct:
if Backend.isDbms(DBMS.MYSQL) and Backend.isFork(FORK.DRIZZLE):
query = rootQuery.inband.query2