mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor update
This commit is contained in:
@@ -71,9 +71,9 @@ def setHandler():
|
||||
items.remove(_)
|
||||
items.insert(0, _)
|
||||
|
||||
for name, aliases, Handler, Connector in items:
|
||||
if conf.dbms and conf.dbms not in aliases:
|
||||
debugMsg = "skipping test for %s" % name
|
||||
for dbms, aliases, Handler, Connector in items:
|
||||
if conf.dbms and conf.dbms.lower() != dbms.lower():
|
||||
debugMsg = "skipping test for %s" % dbms
|
||||
logger.debug(debugMsg)
|
||||
continue
|
||||
|
||||
@@ -84,7 +84,7 @@ def setHandler():
|
||||
logger.debug("forcing timeout to 10 seconds")
|
||||
conf.timeout = 10
|
||||
|
||||
dialect = DBMS_DICT[name][3]
|
||||
dialect = DBMS_DICT[dbms][3]
|
||||
|
||||
if dialect:
|
||||
sqlalchemy = SQLAlchemy(dialect=dialect)
|
||||
|
||||
Reference in New Issue
Block a user