Fixed credentials in zerologon exploiter to match.
This commit is contained in:
parent
263fa53ea5
commit
44f6ce36b6
|
@ -9,5 +9,7 @@ class ZeroLogon(BaseTemplate):
|
||||||
|
|
||||||
config_values.update({
|
config_values.update({
|
||||||
"basic.exploiters.exploiter_classes": ["ZerologonExploiter"],
|
"basic.exploiters.exploiter_classes": ["ZerologonExploiter"],
|
||||||
"basic_network.scope.subnet_scan_list": ["10.2.2.25"]
|
"basic_network.scope.subnet_scan_list": ["10.2.2.25"],
|
||||||
|
# Empty list to make sure ZeroLogon adds "Administrator" username
|
||||||
|
"basic.credentials.exploit_user_list": []
|
||||||
})
|
})
|
||||||
|
|
|
@ -164,7 +164,9 @@ class TestMonkeyBlackbox:
|
||||||
|
|
||||||
def test_zerologon_exploiter(self, island_client):
|
def test_zerologon_exploiter(self, island_client):
|
||||||
test_name = "ZeroLogon_exploiter"
|
test_name = "ZeroLogon_exploiter"
|
||||||
expected_creds = ["test_username", "test_ntlm_hash"]
|
expected_creds = ["Administrator",
|
||||||
|
"aad3b435b51404eeaad3b435b51404ee",
|
||||||
|
"2864b62ea4496934a5d6e86f50b834a5"]
|
||||||
raw_config = IslandConfigParser.get_raw_config(ZeroLogon, island_client)
|
raw_config = IslandConfigParser.get_raw_config(ZeroLogon, island_client)
|
||||||
analyzer = ZeroLogonAnalyzer(island_client, expected_creds)
|
analyzer = ZeroLogonAnalyzer(island_client, expected_creds)
|
||||||
log_handler = TestLogsHandler(test_name, island_client, TestMonkeyBlackbox.get_log_dir_path())
|
log_handler = TestLogsHandler(test_name, island_client, TestMonkeyBlackbox.get_log_dir_path())
|
||||||
|
|
Loading…
Reference in New Issue