mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Done with previous refactoring
This commit is contained in:
parent
701947490b
commit
50c02fbb37
|
@ -132,7 +132,7 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.ACCESS
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp() + " (%s)" % (self.__sandBoxCheck())
|
||||
actVer = format.getDbms() + " (%s)" % (self.__sandBoxCheck())
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
|
@ -142,7 +142,7 @@ class Fingerprint(GenericFingerprint):
|
|||
if re.search("-log$", kb.data.banner):
|
||||
banVer += ", logging enabled"
|
||||
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
|
@ -50,7 +50,7 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.FIREBIRD
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp() + " (%s)" % (self.__dialectCheck())
|
||||
actVer = format.getDbms() + " (%s)" % (self.__dialectCheck())
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
|
@ -60,7 +60,7 @@ class Fingerprint(GenericFingerprint):
|
|||
if re.search("-log$", kb.data.banner):
|
||||
banVer += ", logging enabled"
|
||||
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
|
@ -84,7 +84,7 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.MAXDB
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp() + " (%s)" % self.__versionCheck()
|
||||
actVer = format.getDbms() + " (%s)" % self.__versionCheck()
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class Fingerprint(GenericFingerprint):
|
|||
value += "%s\n" % dbmsOsFp
|
||||
|
||||
value += "back-end DBMS: "
|
||||
actVer = formatDBMSfp()
|
||||
actVer = format.getDbms()
|
||||
|
||||
if not conf.extensiveFp:
|
||||
value += actVer
|
||||
|
|
|
@ -46,13 +46,13 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.ORACLE
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp()
|
||||
actVer = format.getDbms()
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
if kb.bannerFp:
|
||||
banVer = kb.bannerFp["dbmsVersion"] if 'dbmsVersion' in kb.bannerFp else None
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
|
@ -49,13 +49,13 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.PGSQL
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp()
|
||||
actVer = format.getDbms()
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
if kb.bannerFp:
|
||||
banVer = kb.bannerFp["dbmsVersion"] if 'dbmsVersion' in kb.bannerFp else None
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
|
@ -45,13 +45,13 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.SQLITE
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp()
|
||||
actVer = format.getDbms()
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
if kb.bannerFp:
|
||||
banVer = kb.bannerFp["dbmsVersion"]
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
|
@ -45,13 +45,13 @@ class Fingerprint(GenericFingerprint):
|
|||
value += DBMS.SYBASE
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp()
|
||||
actVer = format.getDbms()
|
||||
blank = " " * 15
|
||||
value += "active fingerprint: %s" % actVer
|
||||
|
||||
if kb.bannerFp:
|
||||
banVer = kb.bannerFp["dbmsVersion"]
|
||||
banVer = formatDBMSfp([banVer])
|
||||
banVer = format.getDbms([banVer])
|
||||
value += "\n%sbanner parsing fingerprint: %s" % (blank, banVer)
|
||||
|
||||
htmlErrorFp = format.getErrorParsedDBMSes()
|
||||
|
|
Loading…
Reference in New Issue
Block a user