|
39 | 39 | from lib.core.exception import sqlmapNoneDataException |
40 | 40 | from lib.core.exception import sqlmapUndefinedMethod |
41 | 41 | from lib.core.exception import sqlmapUnsupportedFeatureException |
42 | | -from lib.core.settings import MYSQL_SYSTEM_DBS |
43 | | -from lib.core.settings import PGSQL_SYSTEM_DBS |
44 | | -from lib.core.settings import ORACLE_SYSTEM_DBS |
45 | | -from lib.core.settings import MSSQL_SYSTEM_DBS |
46 | 42 | from lib.core.shell import autoCompletion |
47 | 43 | from lib.request import inject |
48 | 44 | from lib.request.connect import Connect as Request |
@@ -70,15 +66,6 @@ def __init__(self, dbms): |
70 | 66 |
|
71 | 67 | temp.inference = queries[dbms].inference |
72 | 68 |
|
73 | | - if dbms == "MySQL": |
74 | | - self.excludeDbsList = MYSQL_SYSTEM_DBS |
75 | | - elif dbms == "PostgreSQL": |
76 | | - self.excludeDbsList = PGSQL_SYSTEM_DBS |
77 | | - elif dbms == "Oracle": |
78 | | - self.excludeDbsList = ORACLE_SYSTEM_DBS |
79 | | - elif dbms == "Microsoft SQL Server": |
80 | | - self.excludeDbsList = MSSQL_SYSTEM_DBS |
81 | | - |
82 | 69 |
|
83 | 70 | def forceDbmsEnum(self): |
84 | 71 | pass |
@@ -535,7 +522,7 @@ def getDbs(self): |
535 | 522 | if kb.dbms == "MySQL" and not self.has_information_schema: |
536 | 523 | warnMsg = "information_schema not available, " |
537 | 524 | warnMsg += "back-end DBMS is MySQL < 5. database " |
538 | | - warnMsg += "names will be fetched from 'mysql' table" |
| 525 | + warnMsg += "names will be fetched from 'mysql' database" |
539 | 526 | logger.warn(warnMsg) |
540 | 527 |
|
541 | 528 | logMsg = "fetching database names" |
|
0 commit comments