mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 00:42:23 +01: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue