mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
thread based data added
This commit is contained in:
parent
c9e8aae8a2
commit
8fd3e7ba1f
5 changed files with 40 additions and 31 deletions
|
|
@ -12,6 +12,7 @@ import re
|
|||
from xml.sax.handler import ContentHandler
|
||||
|
||||
from lib.core.common import checkFile
|
||||
from lib.core.common import getCurrentThreadData
|
||||
from lib.core.common import parseXmlFile
|
||||
from lib.core.common import sanitizeStr
|
||||
from lib.core.data import kb
|
||||
|
|
@ -42,7 +43,8 @@ class htmlHandler(ContentHandler):
|
|||
if self.__match:
|
||||
self.dbms = self.__dbms
|
||||
self.__match = None
|
||||
kb.lastErrorPage = (kb.lastRequestUID, self.__page)
|
||||
threadData = getCurrentThreadData()
|
||||
threadData.lastErrorPage = (threadData.lastRequestUID, self.__page)
|
||||
|
||||
def htmlParser(page):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue