From 60d64c4e6b78106833801936794430b629181f0a Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Wed, 16 Aug 2017 15:40:23 +0300 Subject: [PATCH] Fix minor bug --- chaos_monkey/monkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: