Fix minor bug

This commit is contained in:
Itay Mizeretz 2017-08-16 15:40:23 +03:00
parent a671b55df3
commit 60d64c4e6b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class ChaosMonkey(object):
if user not in WormConfiguration.exploit_user_list: if user not in WormConfiguration.exploit_user_list:
WormConfiguration.exploit_user_list.append(user) WormConfiguration.exploit_user_list.append(user)
for user, creds in additional_creds: creds = additional_creds[user]
if creds.has_key('password'): if creds.has_key('password'):
password = creds['password'] password = creds['password']
if password not in WormConfiguration.exploit_password_list: if password not in WormConfiguration.exploit_password_list: