mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Patch for an Issue #1105
This commit is contained in:
parent
8e03f4db0f
commit
06ff8b3a16
4 changed files with 16 additions and 12 deletions
|
|
@ -6,11 +6,11 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
import bdb
|
||||
import glob
|
||||
import inspect
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
|
|
@ -44,7 +44,6 @@ from lib.core.exception import SqlmapUserQuitException
|
|||
from lib.core.option import initOptions
|
||||
from lib.core.option import init
|
||||
from lib.core.profiling import profile
|
||||
from lib.core.settings import BIGARRAY_TEMP_PREFIX
|
||||
from lib.core.settings import LEGAL_DISCLAIMER
|
||||
from lib.core.testing import smokeTest
|
||||
from lib.core.testing import liveTest
|
||||
|
|
@ -154,11 +153,7 @@ def main():
|
|||
if conf.get("showTime"):
|
||||
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
|
||||
|
||||
for filename in glob.glob("%s*" % os.path.join(tempfile.gettempdir(), BIGARRAY_TEMP_PREFIX)):
|
||||
try:
|
||||
os.remove(filename)
|
||||
except:
|
||||
pass
|
||||
shutil.rmtree(tempfile.tempdir, ignore_errors=True)
|
||||
|
||||
kb.threadContinue = False
|
||||
kb.threadException = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue