Minor bug fix - restored of so called kb.misc.testedDbms (now kb.misc.fpDbms) to force the DBMS (only) during the fingerprint phase

This commit is contained in:
Bernardo Damele
2011-01-14 11:55:20 +00:00
parent f209b7a65e
commit 3c95d71ea5
23 changed files with 31 additions and 39 deletions

View File

@@ -9,13 +9,11 @@ See the file 'doc/COPYING' for copying permission
from lib.core.data import kb
from lib.core.data import logger
from lib.core.enums import DBMS
from plugins.generic.enumeration import Enumeration as GenericEnumeration
class Enumeration(GenericEnumeration):
def __init__(self):
GenericEnumeration.__init__(self, DBMS.MAXDB)
GenericEnumeration.__init__(self)
kb.data.processChar = lambda x: x.replace('_', ' ') if x else x