mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-10 10:07:17 +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:
parent
ad12242151
commit
dd7262d9e6
1 changed files with 3 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ def initTargetEnv():
|
|||
"""
|
||||
|
||||
if conf.multipleTargets:
|
||||
if conf.sessionFP:
|
||||
conf.sessionFP.close()
|
||||
|
||||
if conf.cj:
|
||||
conf.cj.clear()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue