Fixing pypy bug with multiple targets and SQLite cursor

This commit is contained in:
Miroslav Stampar
2021-09-29 17:46:32 +02:00
parent 95e0b368f2
commit 3d01a9106e
2 changed files with 5 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ from lib.core.settings import UNKNOWN_DBMS_VERSION
from lib.core.settings import URI_INJECTABLE_REGEX
from lib.core.settings import USER_AGENT_ALIASES
from lib.core.settings import XML_RECOGNITION_REGEX
from lib.core.threads import getCurrentThreadData
from lib.utils.hashdb import HashDB
from thirdparty import six
from thirdparty.odict import OrderedDict
@@ -708,6 +709,9 @@ def initTargetEnv():
if conf.cj:
resetCookieJar(conf.cj)
threadData = getCurrentThreadData()
threadData.reset()
conf.paramDict = {}
conf.parameters = {}
conf.hashDBFile = None