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
|
|
|
|
|
|
|
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"],
|
|
|
|
"basic.credentials.exploit_user_list": ["Administrator",
|
|
|
|
"m0nk3y",
|
|
|
|
"user"],
|
|
|
|
"internal.classes.finger_classes": ["SSHFinger",
|
|
|
|
"PingScanner",
|
|
|
|
"HTTPFinger"]
|
|
|
|
})
|