diff --git a/chaos_monkey/exploit/rdpgrinder.py b/chaos_monkey/exploit/rdpgrinder.py index 6f37cdc2e..231dfc304 100644 --- a/chaos_monkey/exploit/rdpgrinder.py +++ b/chaos_monkey/exploit/rdpgrinder.py @@ -280,12 +280,8 @@ class RdpExploiter(HostExploiter): 'monkey_path': self._config.dropper_target_path, 'http_path': http_path, 'parameters': cmdline} - config_users = self._config.exploit_user_list - config_passwords = self._config.exploit_password_list - user_password_pairs = [] - for user in config_users: - for password in config_passwords: - user_password_pairs.append((user, password)) + + user_password_pairs = self._config.get_exploit_user_password_pairs() if not g_reactor.is_alive(): g_reactor.daemon = True