mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-28 09:00:08 +03:00
Solve the error caused by the mix of get mode and chunk
This commit is contained in:
parent
f5bf8bffec
commit
fb52cb35c4
|
@ -2606,12 +2606,14 @@ def initOptions(inputOptions=AttribDict(), overrideOptions=False):
|
||||||
_mergeOptions(inputOptions, overrideOptions)
|
_mergeOptions(inputOptions, overrideOptions)
|
||||||
|
|
||||||
def _setHttpChunked():
|
def _setHttpChunked():
|
||||||
|
conf.chunk = conf.chunk and conf.data
|
||||||
if conf.chunk:
|
if conf.chunk:
|
||||||
def hook(self, a, b):
|
def hook(self, a, b):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
httplib.HTTPConnection._set_content_length = hook
|
httplib.HTTPConnection._set_content_length = hook
|
||||||
|
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
"""
|
"""
|
||||||
Set attributes into both configuration and knowledge base singletons
|
Set attributes into both configuration and knowledge base singletons
|
||||||
|
|
Loading…
Reference in New Issue
Block a user