mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-02-06 13:36:38 +00:00
Minor patch
This commit is contained in:
@@ -453,6 +453,14 @@ def _setHashDB():
|
||||
errMsg = "unable to flush the session file ('%s')" % getSafeExString(ex)
|
||||
raise SqlmapFilePathException(errMsg)
|
||||
|
||||
for suffix in ("-shm", "-wal"):
|
||||
leftover = conf.hashDBFile + suffix
|
||||
if os.path.exists(leftover):
|
||||
try:
|
||||
os.remove(leftover)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
conf.hashDB = HashDB(conf.hashDBFile)
|
||||
|
||||
def _resumeHashDBValues():
|
||||
|
||||
Reference in New Issue
Block a user