mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
just a makeup
This commit is contained in:
parent
b4f4a982e4
commit
2b05ded9c3
7 changed files with 34 additions and 36 deletions
|
|
@ -2370,13 +2370,11 @@ def aliasToDbmsEnum(dbms):
|
|||
|
||||
retVal = None
|
||||
|
||||
if dbms is None:
|
||||
return None
|
||||
|
||||
for key, item in DBMS_DICT.items():
|
||||
if dbms.lower() in item[0] or dbms.lower() == key.lower():
|
||||
retVal = key
|
||||
break
|
||||
if dbms:
|
||||
for key, item in DBMS_DICT.items():
|
||||
if dbms.lower() in item[0] or dbms.lower() == key.lower():
|
||||
retVal = key
|
||||
break
|
||||
|
||||
return retVal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue