mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
just in case commit to prevent join string iteration over 'None' values
This commit is contained in:
parent
68ae8ea5b2
commit
a6ade08c28
4 changed files with 16 additions and 4 deletions
|
|
@ -77,6 +77,8 @@ class Enumeration(GenericEnumeration):
|
|||
for db in dbs:
|
||||
dbs[dbs.index(db)] = safeSQLIdentificatorNaming(db)
|
||||
|
||||
dbs = filter(None, dbs)
|
||||
|
||||
infoMsg = "fetching tables for database"
|
||||
infoMsg += "%s: %s" % ("s" if len(dbs) > 1 else "", ", ".join(db for db in sorted(dbs)))
|
||||
logger.info(infoMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue