mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
we'll need to do some cleanup around threading data model we use (some of the data we currently use we'll need to spread via copies around used threads)
This commit is contained in:
parent
e09bc2406c
commit
c9e8aae8a2
|
@ -113,6 +113,18 @@ class DynamicContentItem:
|
|||
self.lineContentBefore = lineContentBefore
|
||||
self.lineContentAfter = lineContentAfter
|
||||
|
||||
|
||||
class ThreadData():
|
||||
"""
|
||||
Represents thread independent data
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.lastErrorPage = None
|
||||
self.lastQueryDuration = 0
|
||||
self.lastRequestUID = 0
|
||||
self.valueStack = []
|
||||
|
||||
def paramToDict(place, parameters=None):
|
||||
"""
|
||||
Split the parameters into names and values, check if these parameters
|
||||
|
|
Loading…
Reference in New Issue
Block a user