mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-17 03:50:42 +03: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:
parent
ad12242151
commit
dd7262d9e6
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user