mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 10:37:51 +00:00
Fix ineffective chardet MINIMUM_THRESHOLD patch (#6024)
This commit is contained in:
parent
b30c169b8a
commit
762037e78d
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ def dirtyPatches():
|
|||
_http_client.LineAndFileWrapper.readline = _
|
||||
|
||||
# to prevent too much "guessing" in case of binary data retrieval
|
||||
thirdparty.chardet.universaldetector.MINIMUM_THRESHOLD = 0.90
|
||||
thirdparty.chardet.universaldetector.UniversalDetector.MINIMUM_THRESHOLD = 0.90
|
||||
|
||||
match = re.search(r" --method[= ](\w+)", " ".join(sys.argv))
|
||||
if match and match.group(1).upper() != PLACE.POST:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue