From 19c1d5c1aea7a81493c3114d4315933607f5c6e3 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 1 Sep 2021 12:05:08 -0400 Subject: [PATCH] Agent: Rename credential_generation -> credential_generators --- monkey/infection_monkey/exploit/powershell.py | 2 +- .../{credential_generation.py => credential_generators.py} | 0 .../infection_monkey/exploit/powershell_utils/test_utils.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename monkey/infection_monkey/exploit/powershell_utils/{credential_generation.py => credential_generators.py} (100%) diff --git a/monkey/infection_monkey/exploit/powershell.py b/monkey/infection_monkey/exploit/powershell.py index 69e7afe95..d6c5dba2c 100644 --- a/monkey/infection_monkey/exploit/powershell.py +++ b/monkey/infection_monkey/exploit/powershell.py @@ -14,7 +14,7 @@ from infection_monkey.exploit.consts import WIN_ARCH_32, WIN_ARCH_64 from infection_monkey.exploit.HostExploiter import HostExploiter from infection_monkey.exploit.powershell_utils import utils from infection_monkey.exploit.powershell_utils.auth_options import AuthOptions -from infection_monkey.exploit.powershell_utils.credential_generation import get_credentials +from infection_monkey.exploit.powershell_utils.credential_generators import get_credentials from infection_monkey.exploit.powershell_utils.utils import ( IClient, get_client_based_on_auth_options, diff --git a/monkey/infection_monkey/exploit/powershell_utils/credential_generation.py b/monkey/infection_monkey/exploit/powershell_utils/credential_generators.py similarity index 100% rename from monkey/infection_monkey/exploit/powershell_utils/credential_generation.py rename to monkey/infection_monkey/exploit/powershell_utils/credential_generators.py diff --git a/monkey/tests/unit_tests/infection_monkey/exploit/powershell_utils/test_utils.py b/monkey/tests/unit_tests/infection_monkey/exploit/powershell_utils/test_utils.py index 65ecea49e..3ba5388f9 100644 --- a/monkey/tests/unit_tests/infection_monkey/exploit/powershell_utils/test_utils.py +++ b/monkey/tests/unit_tests/infection_monkey/exploit/powershell_utils/test_utils.py @@ -1,6 +1,6 @@ from infection_monkey.exploit.powershell_utils import utils from infection_monkey.exploit.powershell_utils.auth_options import AuthOptions -from infection_monkey.exploit.powershell_utils.credential_generation import get_credentials +from infection_monkey.exploit.powershell_utils.credential_generators import get_credentials from infection_monkey.model.host import VictimHost TEST_USERNAMES = ["user1", "user2"]