change the user/password combo to existing function in another place.

This commit is contained in:
Daniel Goldberg 2017-09-27 13:40:50 +03:00
parent 08aaed8eb3
commit 142401e706
1 changed files with 2 additions and 6 deletions

View File

@ -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