MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / aliasToDbmsEnum

Function aliasToDbmsEnum

lib/core/common.py:3212–3228  ·  view source on GitHub ↗

Returns major DBMS name from a given alias >>> aliasToDbmsEnum('mssql') 'Microsoft SQL Server'

(dbms)

Source from the content-addressed store, hash-verified

3210
3211@cachedmethod
3212def aliasToDbmsEnum(dbms):
3213 """
3214 Returns major DBMS name from a given alias
3215
3216 >>> aliasToDbmsEnum('mssql')
3217 'Microsoft SQL Server'
3218 """
3219
3220 retVal = None
3221
3222 if dbms:
3223 for key, item in DBMS_DICT.items():
3224 if dbms.lower() in item[0] or dbms.lower() == key.lower():
3225 retVal = key
3226 break
3227
3228 return retVal
3229
3230def findDynamicContent(firstPage, secondPage):
3231 """

Callers 6

setDbmsMethod · 0.85
forceDbmsMethod · 0.85
getForcedDbmsMethod · 0.85
getDbmsMethod · 0.85
getIdentifiedDbmsMethod · 0.85
isDbmsMethod · 0.85

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…