We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dae43f + caedb99 commit 6710298Copy full SHA for 6710298
lib/shellcode.py
@@ -356,7 +356,7 @@ def display(self, shellcodeId):
356
try:
357
s.request("GET", "/shellcode/files/shellcode-"+str(shellcodeId)+".php")
358
res = s.getresponse()
359
- data = res.read().split("<pre>")[1].split("<body>")[0]
+ data = res.read().decode('utf-8').split("<pre>")[1].split("<body>")[0]
360
except:
361
error_msg("Failed to download shellcode from shell-storm.org")
362
return None
0 commit comments