mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
sanitizeStr screws html error parsing in some cases as new lines are removed (FALSE positives here and there)
This commit is contained in:
parent
bb6e36fb02
commit
539168dcca
|
@ -13,7 +13,6 @@ from xml.sax.handler import ContentHandler
|
|||
|
||||
from lib.core.common import checkFile
|
||||
from lib.core.common import parseXmlFile
|
||||
from lib.core.common import sanitizeStr
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import paths
|
||||
from lib.core.threads import getCurrentThreadData
|
||||
|
@ -56,7 +55,6 @@ def htmlParser(page):
|
|||
|
||||
xmlfile = paths.ERRORS_XML
|
||||
checkFile(xmlfile)
|
||||
page = sanitizeStr(page)
|
||||
handler = htmlHandler(page)
|
||||
|
||||
parseXmlFile(xmlfile, handler)
|
||||
|
|
Loading…
Reference in New Issue
Block a user