From 7ccec16d69d31fbc56745633c22e96ba8f9d4fb6 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 4 Aug 2021 13:49:22 +0200 Subject: [PATCH] BB: Improve shellshock and ssh. --- envs/monkey_zoo/blackbox/config_templates/shellshock.py | 2 ++ envs/monkey_zoo/blackbox/config_templates/ssh.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/envs/monkey_zoo/blackbox/config_templates/shellshock.py b/envs/monkey_zoo/blackbox/config_templates/shellshock.py index ba1a8f915..b3620e5b9 100644 --- a/envs/monkey_zoo/blackbox/config_templates/shellshock.py +++ b/envs/monkey_zoo/blackbox/config_templates/shellshock.py @@ -11,5 +11,7 @@ class ShellShock(ConfigTemplate): { "basic.exploiters.exploiter_classes": ["ShellShockExploiter"], "basic_network.scope.subnet_scan_list": ["10.2.2.8"], + "internal.network.tcp_scanner.HTTP_PORTS": [80, 8080], + "internal.network.tcp_scanner.tcp_target_ports": [], } ) diff --git a/envs/monkey_zoo/blackbox/config_templates/ssh.py b/envs/monkey_zoo/blackbox/config_templates/ssh.py index 3cff3222a..16e7f7e95 100644 --- a/envs/monkey_zoo/blackbox/config_templates/ssh.py +++ b/envs/monkey_zoo/blackbox/config_templates/ssh.py @@ -13,6 +13,8 @@ class Ssh(ConfigTemplate): "basic_network.scope.subnet_scan_list": ["10.2.2.11", "10.2.2.12"], "basic.credentials.exploit_password_list": ["Password1!", "12345678", "^NgDvY59~8"], "basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"], - "internal.classes.finger_classes": ["SSHFinger", "PingScanner", "HTTPFinger"], + "internal.classes.finger_classes": ["SSHFinger", "PingScanner"], + "internal.network.tcp_scanner.HTTP_PORTS": [], + "internal.network.tcp_scanner.tcp_target_ports": [22], } )