mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-30 04:55:04 +00:00
Minor code restyling
This commit is contained in:
parent
4b02ed45fa
commit
2fcbb57e1c
5 changed files with 7 additions and 14 deletions
|
|
@ -41,6 +41,7 @@ from lib.core.exception import sqlmapNoneDataException
|
|||
from lib.core.exception import sqlmapSyntaxException
|
||||
from lib.core.session import setDbms
|
||||
from lib.core.settings import MSSQL_ALIASES
|
||||
from lib.core.settings import MSSQL_SYSTEM_DBS
|
||||
from lib.core.unescaper import unescaper
|
||||
from lib.parse.banner import bannerParser
|
||||
from lib.request import inject
|
||||
|
|
@ -59,6 +60,7 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.excludeDbsList = MSSQL_SYSTEM_DBS
|
||||
Enumeration.__init__(self, "Microsoft SQL Server")
|
||||
|
||||
unescaper.setUnescape(MSSQLServerMap.unescape)
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ from lib.core.data import paths
|
|||
from lib.core.exception import sqlmapSyntaxException
|
||||
from lib.core.session import setDbms
|
||||
from lib.core.settings import MYSQL_ALIASES
|
||||
from lib.core.settings import MYSQL_SYSTEM_DBS
|
||||
from lib.core.shell import autoCompletion
|
||||
from lib.core.unescaper import unescaper
|
||||
from lib.request import inject
|
||||
|
|
@ -58,6 +59,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.excludeDbsList = MYSQL_SYSTEM_DBS
|
||||
Enumeration.__init__(self, "MySQL")
|
||||
|
||||
unescaper.setUnescape(MySQLMap.unescape)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ class OracleMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
|
||||
|
||||
def __init__(self):
|
||||
self.excludeDbsList = ORACLE_SYSTEM_DBS
|
||||
Enumeration.__init__(self, "Oracle")
|
||||
|
||||
unescaper.setUnescape(OracleMap.unescape)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ class PostgreSQLMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.excludeDbsList = PGSQL_SYSTEM_DBS
|
||||
Enumeration.__init__(self, "PostgreSQL")
|
||||
|
||||
unescaper.setUnescape(PostgreSQLMap.unescape)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue