2021-03-08 17:07:24 +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-08 17:07:24 +08:00
|
|
|
|
|
|
|
|
2021-03-08 23:16:32 +08:00
|
|
|
class Zerologon(ConfigTemplate):
|
2021-03-08 17:07:24 +08:00
|
|
|
|
|
|
|
config_values = copy(BaseTemplate.config_values)
|
|
|
|
|
2021-04-06 21:19:27 +08:00
|
|
|
config_values.update(
|
|
|
|
{
|
|
|
|
"basic.exploiters.exploiter_classes": ["ZerologonExploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.25"],
|
|
|
|
# Empty list to make sure ZeroLogon adds "Administrator" username
|
|
|
|
"basic.credentials.exploit_user_list": [],
|
|
|
|
}
|
|
|
|
)
|