2021-09-27 23:12:28 +08:00
|
|
|
from copy import copy
|
|
|
|
|
|
|
|
from envs.monkey_zoo.blackbox.config_templates.base_template import BaseTemplate
|
|
|
|
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
|
|
|
|
|
|
|
|
|
2021-09-28 22:42:16 +08:00
|
|
|
class PowerShellCredentialsReuse(ConfigTemplate):
|
2021-09-27 23:12:28 +08:00
|
|
|
config_values = copy(BaseTemplate.config_values)
|
|
|
|
|
|
|
|
config_values.update(
|
|
|
|
{
|
|
|
|
"basic.exploiters.exploiter_classes": ["PowerShellExploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": [
|
|
|
|
"10.2.3.46",
|
|
|
|
],
|
|
|
|
"basic_network.scope.depth": 2,
|
2022-03-01 01:56:43 +08:00
|
|
|
"internal.classes.finger_classes": [],
|
2021-09-27 23:12:28 +08:00
|
|
|
"internal.network.tcp_scanner.HTTP_PORTS": [],
|
|
|
|
"internal.network.tcp_scanner.tcp_target_ports": [],
|
|
|
|
}
|
|
|
|
)
|