mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor cosmetics
This commit is contained in:
@@ -12,4 +12,4 @@ from plugins.generic.enumeration import Enumeration as GenericEnumeration
|
||||
|
||||
class Enumeration(GenericEnumeration):
|
||||
def __init__(self):
|
||||
GenericEnumeration.__init__(self, DBMS.POSTGRESQL)
|
||||
GenericEnumeration.__init__(self, DBMS.PGSQL)
|
||||
|
||||
@@ -47,7 +47,7 @@ class Fingerprint(GenericFingerprint):
|
||||
value += "back-end DBMS: "
|
||||
|
||||
if not conf.extensiveFp:
|
||||
value += DBMS.POSTGRESQL
|
||||
value += DBMS.PGSQL
|
||||
return value
|
||||
|
||||
actVer = formatDBMSfp()
|
||||
@@ -74,7 +74,7 @@ class Fingerprint(GenericFingerprint):
|
||||
"""
|
||||
|
||||
if (kb.dbms is not None and kb.dbms.lower() in PGSQL_ALIASES) or conf.dbms in PGSQL_ALIASES:
|
||||
setDbms(DBMS.POSTGRESQL)
|
||||
setDbms(DBMS.PGSQL)
|
||||
|
||||
self.getBanner()
|
||||
|
||||
@@ -102,7 +102,7 @@ class Fingerprint(GenericFingerprint):
|
||||
|
||||
return False
|
||||
|
||||
setDbms(DBMS.POSTGRESQL)
|
||||
setDbms(DBMS.PGSQL)
|
||||
|
||||
self.getBanner()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user