From f58c9354fc8e43bba18ba4fb2ca04947df6bb948 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 4 Aug 2021 09:59:23 -0400 Subject: [PATCH] BB: Limit scanned ports for mssql test --- envs/monkey_zoo/blackbox/config_templates/mssql.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/envs/monkey_zoo/blackbox/config_templates/mssql.py b/envs/monkey_zoo/blackbox/config_templates/mssql.py index 61249044c..13d1c728e 100644 --- a/envs/monkey_zoo/blackbox/config_templates/mssql.py +++ b/envs/monkey_zoo/blackbox/config_templates/mssql.py @@ -10,6 +10,7 @@ class Mssql(ConfigTemplate): config_values.update( { "basic.exploiters.exploiter_classes": ["MSSQLExploiter"], + "internal.classes.finger_classes": ["PingScanner"], "basic_network.scope.subnet_scan_list": ["10.2.2.16"], "basic.credentials.exploit_password_list": [ "Password1!", @@ -18,5 +19,7 @@ class Mssql(ConfigTemplate): "12345678", ], "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], + "internal.network.tcp_scanner.HTTP_PORTS": [], + "internal.network.tcp_scanner.tcp_target_ports": [3389], } )