Merge pull request #78 from onedv/master

Fixed shellcode display for PY3 due to missing decode
This commit is contained in:
Long Le 2016-05-19 22:25:04 +07:00
commit 6710298b16
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ class Shellcode():
try:
s.request("GET", "/shellcode/files/shellcode-"+str(shellcodeId)+".php")
res = s.getresponse()
data = res.read().split("<pre>")[1].split("<body>")[0]
data = res.read().decode('utf-8').split("<pre>")[1].split("<body>")[0]
except:
error_msg("Failed to download shellcode from shell-storm.org")
return None