Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7c7c338

Browse files
committed
Fixes #4705
1 parent 63073a1 commit 7c7c338

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.6.1"
23+
VERSION = "1.5.6.2"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/har.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def parse(cls, raw):
165165
try:
166166
content = response.read()
167167
except _http_client.IncompleteRead:
168-
content = raw[raw.find("\r\n\r\n") + 4:].rstrip("\r\n")
168+
content = raw[raw.find(b"\r\n\r\n") + 4:].rstrip(b"\r\n")
169169

170170
return cls(httpVersion="HTTP/1.1" if response.version == 11 else "HTTP/1.0",
171171
status=response.status,

0 commit comments

Comments
 (0)