mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-03 13:19:06 +00:00
Fixes #1315
This commit is contained in:
@@ -1685,6 +1685,13 @@ def _cleanupOptions():
|
||||
threadData = getCurrentThreadData()
|
||||
threadData.reset()
|
||||
|
||||
def _dirtyPatches():
|
||||
"""
|
||||
Place for "dirty" Python related patches
|
||||
"""
|
||||
|
||||
httplib._MAXLINE = 1 * 1024 * 1024 # to accept overly long result lines (e.g. SQLi results in HTTP header responses)
|
||||
|
||||
def _purgeOutput():
|
||||
"""
|
||||
Safely removes (purges) output directory.
|
||||
@@ -2469,6 +2476,7 @@ def init():
|
||||
_saveCmdline()
|
||||
_setRequestFromFile()
|
||||
_cleanupOptions()
|
||||
_dirtyPatches()
|
||||
_purgeOutput()
|
||||
_checkDependencies()
|
||||
_createTemporaryDirectory()
|
||||
|
||||
Reference in New Issue
Block a user