mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-15 12:29:56 +00:00
Fix for --time-limit producing empty --har file
This commit is contained in:
parent
ca698bb7ec
commit
d646b00ceb
2 changed files with 4 additions and 1 deletions
|
|
@ -648,6 +648,9 @@ def main():
|
|||
except OSError:
|
||||
pass
|
||||
|
||||
# Note: --time-limit must not interrupt the final cleanup (e.g. session flush or HAR file writing)
|
||||
conf.timeLimit = None
|
||||
|
||||
if conf.get("hashDB"):
|
||||
conf.hashDB.flush()
|
||||
conf.hashDB.close() # NOTE: because of PyPy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue