Fix fd leak

see #4972
This commit is contained in:
CravateRouge 2022-04-06 21:10:47 +02:00 committed by GitHub
parent d5fb92ee42
commit 0408f98359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,6 +556,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
output += status if _ != length else " " * len(status)
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), output))
if conf.get("hashDB"):
conf.hashDB.close()
runThreads(numThreads, blindThread, startThreadMsg=False)