2021-03-05 16:46:07 +08:00
|
|
|
from copy import copy
|
|
|
|
|
2021-03-08 21:41:22 +08:00
|
|
|
from envs.monkey_zoo.blackbox.config_templates.base_template import BaseTemplate
|
2021-03-08 23:16:32 +08:00
|
|
|
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
|
2021-03-02 21:01:56 +08:00
|
|
|
|
|
|
|
|
2021-03-08 23:16:32 +08:00
|
|
|
class Ssh(ConfigTemplate):
|
2021-03-05 16:46:07 +08:00
|
|
|
config_values = copy(BaseTemplate.config_values)
|
2021-03-02 21:01:56 +08:00
|
|
|
|
2021-04-06 21:19:27 +08:00
|
|
|
config_values.update(
|
|
|
|
{
|
|
|
|
"basic.exploiters.exploiter_classes": ["SSHExploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.11", "10.2.2.12"],
|
|
|
|
"basic.credentials.exploit_password_list": ["Password1!", "12345678", "^NgDvY59~8"],
|
2021-08-05 02:53:55 +08:00
|
|
|
"basic_network.scope.depth": 2,
|
2021-04-06 21:19:27 +08:00
|
|
|
"basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"],
|
2021-08-04 19:49:22 +08:00
|
|
|
"internal.classes.finger_classes": ["SSHFinger", "PingScanner"],
|
|
|
|
"internal.network.tcp_scanner.HTTP_PORTS": [],
|
|
|
|
"internal.network.tcp_scanner.tcp_target_ports": [22],
|
2021-04-06 21:19:27 +08:00
|
|
|
}
|
|
|
|
)
|