No more dumb usage of '--dbms'

This commit is contained in:
Miroslav Stampar
2017-03-06 12:53:04 +01:00
parent e2fb16c98c
commit ef04c99069
15 changed files with 30 additions and 41 deletions

View File

@@ -65,9 +65,7 @@ class Fingerprint(GenericFingerprint):
return value
def checkDbms(self):
if not conf.extensiveFp and (Backend.isDbmsWithin(MSSQL_ALIASES) \
or (conf.dbms or "").lower() in MSSQL_ALIASES) and Backend.getVersion() and \
Backend.getVersion().isdigit():
if not conf.extensiveFp and Backend.isDbmsWithin(MSSQL_ALIASES):
setDbms("%s %s" % (DBMS.MSSQL, Backend.getVersion()))
self.getBanner()