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