diff --git a/lib/parse/banner.py b/lib/parse/banner.py index 2e11cb10c..74ee36840 100644 --- a/lib/parse/banner.py +++ b/lib/parse/banner.py @@ -9,7 +9,6 @@ import re from xml.sax.handler import ContentHandler -from lib.core.common import checkFile from lib.core.common import Backend from lib.core.common import parseXmlFile from lib.core.common import sanitizeStr @@ -104,8 +103,6 @@ def bannerParser(banner): if not xmlfile: return - checkFile(xmlfile) - if Backend.isDbms(DBMS.MSSQL): handler = MSSQLBannerHandler(banner, kb.bannerFp) parseXmlFile(xmlfile, handler) diff --git a/lib/parse/headers.py b/lib/parse/headers.py index 1cb08db7d..1f6b740e0 100644 --- a/lib/parse/headers.py +++ b/lib/parse/headers.py @@ -8,7 +8,6 @@ See the file 'doc/COPYING' for copying permission import itertools import os -from lib.core.common import checkFile from lib.core.common import parseXmlFile from lib.core.data import kb from lib.core.data import paths @@ -36,7 +35,6 @@ def headersParser(headers): for header in itertools.ifilter(lambda x: x in kb.headerPaths, headers): value = headers[header] xmlfile = kb.headerPaths[header] - checkFile(xmlfile) handler = FingerprintHandler(value, kb.headersFp) diff --git a/lib/parse/html.py b/lib/parse/html.py index 71fc988d5..51a7708c2 100644 --- a/lib/parse/html.py +++ b/lib/parse/html.py @@ -9,7 +9,6 @@ import re from xml.sax.handler import ContentHandler -from lib.core.common import checkFile from lib.core.common import parseXmlFile from lib.core.data import kb from lib.core.data import paths @@ -49,7 +48,6 @@ def htmlParser(page): """ xmlfile = paths.ERRORS_XML - checkFile(xmlfile) handler = HTMLHandler(page) parseXmlFile(xmlfile, handler)