mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor fix for an Issue #219
This commit is contained in:
parent
65ec715828
commit
b7429dc6bb
|
@ -256,7 +256,7 @@ class Databases:
|
||||||
if condition:
|
if condition:
|
||||||
if conf.excludeSysDbs:
|
if conf.excludeSysDbs:
|
||||||
query += " WHERE "
|
query += " WHERE "
|
||||||
query += " AND ".join("%s != '%s'" % (condition, unsafeSQLIdentificatorNaming(db)) for db in self.excludeDbsList)
|
query += " AND ".join("%s != ('%s')" % (condition, unsafeSQLIdentificatorNaming(db)) for db in self.excludeDbsList)
|
||||||
infoMsg = "skipping system database%s '%s'" % ("s" if len(self.excludeDbsList) > 1 else "", ", ".join(db for db in self.excludeDbsList))
|
infoMsg = "skipping system database%s '%s'" % ("s" if len(self.excludeDbsList) > 1 else "", ", ".join(db for db in self.excludeDbsList))
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
elif not Backend.isDbms(DBMS.SQLITE):
|
elif not Backend.isDbms(DBMS.SQLITE):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user