diff --git a/chaos_monkey/monkey.py b/chaos_monkey/monkey.py index 099204374..e61249a87 100644 --- a/chaos_monkey/monkey.py +++ b/chaos_monkey/monkey.py @@ -116,7 +116,7 @@ class ChaosMonkey(object): if user not in WormConfiguration.exploit_user_list: WormConfiguration.exploit_user_list.append(user) - for user, creds in additional_creds: + creds = additional_creds[user] if creds.has_key('password'): password = creds['password'] if password not in WormConfiguration.exploit_password_list: