mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
we haven't closed session file for previous target which lead to potentially nasty problems in multi target mode
This commit is contained in:
@@ -279,6 +279,9 @@ def initTargetEnv():
|
||||
"""
|
||||
|
||||
if conf.multipleTargets:
|
||||
if conf.sessionFP:
|
||||
conf.sessionFP.close()
|
||||
|
||||
if conf.cj:
|
||||
conf.cj.clear()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user