mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
More code refactoring of Backend class methods used
This commit is contained in:
@@ -104,9 +104,9 @@ class Dump:
|
||||
self.string("current user", data)
|
||||
|
||||
def currentDb(self,data):
|
||||
if Backend.getIdentifiedDbms() == DBMS.MAXDB:
|
||||
if Backend.isDbms(DBMS.MAXDB):
|
||||
self.string("current database (no practical usage on %s)" % Backend.getIdentifiedDbms(), data)
|
||||
elif Backend.getIdentifiedDbms() == DBMS.ORACLE:
|
||||
elif Backend.isDbms(DBMS.ORACLE):
|
||||
self.string("current schema (equivalent to database on %s)" % Backend.getIdentifiedDbms(), data)
|
||||
else:
|
||||
self.string("current database", data)
|
||||
|
||||
Reference in New Issue
Block a user