mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Reverting set() brace form because of Python 2.6 compatibility issues
This commit is contained in:
@@ -180,7 +180,7 @@ class Response:
|
||||
"size": len(self.content or "")
|
||||
}
|
||||
|
||||
binary = {'\0', '\1'}
|
||||
binary = set(['\0', '\1'])
|
||||
if any(c in binary for c in self.content):
|
||||
content["encoding"] = "base64"
|
||||
content["text"] = base64.b64encode(self.content)
|
||||
|
||||
Reference in New Issue
Block a user