mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +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
|
|
@ -17,7 +17,6 @@ import tempfile
|
|||
|
||||
from lib.core.exception import SqlmapSystemException
|
||||
from lib.core.settings import BIGARRAY_CHUNK_SIZE
|
||||
from lib.core.settings import BIGARRAY_TEMP_PREFIX
|
||||
|
||||
DEFAULT_SIZE_OF = sys.getsizeof(object())
|
||||
|
||||
|
|
@ -92,7 +91,7 @@ class BigArray(list):
|
|||
|
||||
def _dump(self, chunk):
|
||||
try:
|
||||
handle, filename = tempfile.mkstemp(prefix=BIGARRAY_TEMP_PREFIX)
|
||||
handle, filename = tempfile.mkstemp()
|
||||
self.filenames.add(filename)
|
||||
os.close(handle)
|
||||
with open(filename, "w+b") as fp:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue