mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Fixes #4483
This commit is contained in:
@@ -194,6 +194,9 @@ class Search(object):
|
||||
else:
|
||||
whereDbsQuery = ""
|
||||
|
||||
if dbCond and conf.exclude:
|
||||
whereDbsQuery += " AND %s NOT LIKE '%s'" % (dbCond, re.sub(r"\.[*+]", '%', conf.exclude._original))
|
||||
|
||||
logger.info(infoMsg)
|
||||
|
||||
tblQuery = "%s%s" % (tblCond, tblCondParam)
|
||||
@@ -431,6 +434,9 @@ class Search(object):
|
||||
else:
|
||||
infoMsgDb = " across all databases"
|
||||
|
||||
if conf.exclude:
|
||||
whereDbsQuery += " AND %s NOT LIKE '%s'" % (dbCond, re.sub(r"\.[*+]", '%', conf.exclude._original))
|
||||
|
||||
logger.info("%s%s%s" % (infoMsg, infoMsgTbl, infoMsgDb))
|
||||
|
||||
colQuery = "%s%s" % (colCond, colCondParam)
|
||||
|
||||
Reference in New Issue
Block a user