mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41: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.multipleTargets:
|
||||||
|
if conf.sessionFP:
|
||||||
|
conf.sessionFP.close()
|
||||||
|
|
||||||
if conf.cj:
|
if conf.cj:
|
||||||
conf.cj.clear()
|
conf.cj.clear()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user