mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor patch
This commit is contained in:
parent
cfd9309be4
commit
85a71c2b49
3 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.6.33"
|
||||
VERSION = "1.10.6.34"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ class Response(object):
|
|||
"size": len(self.content or "")
|
||||
}
|
||||
|
||||
binary = set([b'\0', b'\1'])
|
||||
binary = set([b'\0', b'\1', u'\0', u'\1', 0, 1])
|
||||
if any(c in binary for c in self.content):
|
||||
content["encoding"] = "base64"
|
||||
content["text"] = getText(base64.b64encode(self.content))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue