示例#1
0
    def __init__(self):
        self.excludeDbsList = MSSQL_SYSTEM_DBS

        Enumeration.__init__(self, "Microsoft SQL Server")
        Filesystem.__init__(self)
        Takeover.__init__(self)

        unescaper.setUnescape(MSSQLServerMap.unescape)
示例#2
0
    def __init__(self):
        self.excludeDbsList = ORACLE_SYSTEM_DBS

        Enumeration.__init__(self, "Oracle")
        Filesystem.__init__(self)
        Takeover.__init__(self)

        unescaper.setUnescape(OracleMap.unescape)
示例#3
0
    def __init__(self):
        self.excludeDbsList = PGSQL_SYSTEM_DBS
        self.sysUdfs        = {
                                # UDF name:     UDF parameters' input data-type and return data-type
                                "sys_exec":     { "input":  [ "text" ], "return": "int4" },
                                "sys_eval":     { "input":  [ "text" ], "return": "text" },
                                "sys_bineval":  { "input":  [ "text" ], "return": "int4" },
                                "sys_fileread": { "input":  [ "text" ], "return": "text" }
                              }

        Enumeration.__init__(self, "PostgreSQL")
        Filesystem.__init__(self)
        Takeover.__init__(self)

        unescaper.setUnescape(PostgreSQLMap.unescape)
示例#4
0
    def __init__(self):
        self.__basedir      = None
        self.__datadir      = None
        self.excludeDbsList = MYSQL_SYSTEM_DBS
        self.sysUdfs        = {
                                # UDF name:    UDF return data-type
                                "sys_exec":    { "return": "int" },
                                "sys_eval":    { "return": "string" },
                                "sys_bineval": { "return": "int" }
                              }

        Enumeration.__init__(self, "MySQL")
        Filesystem.__init__(self)
        Takeover.__init__(self)

        unescaper.setUnescape(MySQLMap.unescape)
示例#5
0
    def __init__(self):
        GenericEnumeration.__init__(self)

        kb.data.processChar = lambda x: x.replace('_', ' ') if x else x
示例#6
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.MSSQL)
    def __init__(self):
        self.excludeDbsList = MSSQL_SYSTEM_DBS
        Enumeration.__init__(self, "Microsoft SQL Server")

        unescaper.setUnescape(MSSQLServerMap.unescape)
示例#8
0
    def __init__(self):
        self.excludeDbsList = ORACLE_SYSTEM_DBS
        Enumeration.__init__(self, "Oracle")

        unescaper.setUnescape(OracleMap.unescape)
示例#9
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.FIREBIRD)
示例#10
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.ACCESS)
示例#11
0
    def __init__(self):
        self.excludeDbsList = MYSQL_SYSTEM_DBS
        Enumeration.__init__(self, "MySQL")

        unescaper.setUnescape(MySQLMap.unescape)
示例#12
0
    def __init__(self):
        self.excludeDbsList = PGSQL_SYSTEM_DBS
        Enumeration.__init__(self, "PostgreSQL")

        unescaper.setUnescape(PostgreSQLMap.unescape)
示例#13
0
    def __init__(self):
        self.excludeDbsList = PGSQL_SYSTEM_DBS
        Enumeration.__init__(self, "PostgreSQL")

        unescaper.setUnescape(PostgreSQLMap.unescape)
示例#14
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.SYBASE)
示例#15
0
 def __init__(self):
     GenericEnumeration.__init__(self)
示例#16
0
    def __init__(self):
        GenericEnumeration.__init__(self)

        kb.data.processChar = lambda x: x.replace('_', ' ') if x else x
示例#17
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.POSTGRESQL)
示例#18
0
 def __init__(self):
     GenericEnumeration.__init__(self)
示例#19
0
 def __init__(self):
     GenericEnumeration.__init__(self, DBMS.ORACLE)