mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Another patch regarding #4530
This commit is contained in:
@@ -13,6 +13,7 @@ from lib.core.common import urldecode
|
||||
from lib.core.common import parseXmlFile
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import paths
|
||||
from lib.core.settings import HEURISTIC_PAGE_SIZE_THRESHOLD
|
||||
from lib.core.threads import getCurrentThreadData
|
||||
|
||||
class HTMLHandler(ContentHandler):
|
||||
@@ -69,6 +70,8 @@ def htmlParser(page):
|
||||
>>> threadData.lastErrorPage = None
|
||||
"""
|
||||
|
||||
page = page[:HEURISTIC_PAGE_SIZE_THRESHOLD]
|
||||
|
||||
xmlfile = paths.ERRORS_XML
|
||||
handler = HTMLHandler(page)
|
||||
key = hash(page)
|
||||
|
||||
Reference in New Issue
Block a user