From 2d47e9c2281fd63788745af0d995a2404c992770 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Sun, 15 Oct 2017 19:28:41 +0300 Subject: [PATCH] Fix edge case in shellshock where a victim with no attackable URLs returned None --- chaos_monkey/exploit/shellshock.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chaos_monkey/exploit/shellshock.py b/chaos_monkey/exploit/shellshock.py index 3dad915d5..a5dc36ddf 100644 --- a/chaos_monkey/exploit/shellshock.py +++ b/chaos_monkey/exploit/shellshock.py @@ -144,6 +144,8 @@ class ShellShockExploiter(HostExploiter): return True + return False + @classmethod def check_remote_file_exists(cls, url, header, exploit, file_path): """