From 04db324b019d4f96d4fad8fc09410c8f07066af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0tampar?= Date: Thu, 12 Nov 2026 14:32:03 +0100 Subject: [PATCH] Fix for --search -T with multiple tables on SQLite/Firebird (blind) --- lib/core/settings.py | 2 +- plugins/generic/search.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 1fa7cc10e..424e4348b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.11.32" +VERSION = "1.10.11.33" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/plugins/generic/search.py b/plugins/generic/search.py index 61c9ff6cd..a7fb4c184 100644 --- a/plugins/generic/search.py +++ b/plugins/generic/search.py @@ -279,7 +279,7 @@ class Search(object): foundTbls[db] = [] else: dbName = "SQLite" if Backend.isDbms(DBMS.SQLITE) else "Firebird" - foundTbls["%s%s" % (dbName, METADB_SUFFIX)] = [] + foundTbls.setdefault("%s%s" % (dbName, METADB_SUFFIX), []) # Note: keeping matches of previous tables (e.g. -T users,nonexist) for db in foundTbls: db = safeSQLIdentificatorNaming(db)