mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 01:16:59 +00:00
Stabilizing first drei compatible prototype
This commit is contained in:
parent
6dbf24531c
commit
7d9cd0c079
7 changed files with 23 additions and 13 deletions
|
|
@ -375,8 +375,12 @@ def main():
|
|||
os.remove(filepath)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
if not filterNone(filepath for filepath in glob.glob(os.path.join(kb.tempDir, '*')) if not any(filepath.endswith(_) for _ in ('.lock', '.exe', '_'))):
|
||||
shutil.rmtree(kb.tempDir, ignore_errors=True)
|
||||
try:
|
||||
shutil.rmtree(kb.tempDir, ignore_errors=True)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
if conf.get("hashDB"):
|
||||
conf.hashDB.flush(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue