mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patch
This commit is contained in:
parent
cfd9309be4
commit
85a71c2b49
3 changed files with 4 additions and 4 deletions
|
|
@ -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