Shellshock bugfix

This commit is contained in:
VakarisZ 2019-10-29 15:00:01 +02:00
parent c1a20116a0
commit cdc30f56c7
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class ShellShockExploiter(HostExploiter):
LOG.debug("Header is: %s" % header)
LOG.debug("Attack is: %s" % attack)
r = requests.get(url, headers={header: attack}, verify=False, timeout=TIMEOUT)
result = r.content
result = r.content.decode()
return result
except requests.exceptions.RequestException as exc:
LOG.debug("Failed to run, exception %s" % exc)