monkey/envs/monkey_zoo/blackbox/config_templates/struts2.py

20 lines
665 B
Python
Raw Permalink Normal View History

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
class Struts2(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
2021-04-06 21:19:27 +08:00
config_values.update(
{
"basic.exploiters.exploiter_classes": ["Struts2Exploiter"],
2021-08-05 16:36:33 +08:00
"basic_network.scope.depth": 2,
2021-04-06 21:19:27 +08:00
"basic_network.scope.subnet_scan_list": ["10.2.2.23", "10.2.2.24"],
"internal.network.tcp_scanner.HTTP_PORTS": [80, 8080],
"internal.network.tcp_scanner.tcp_target_ports": [80, 8080],
2021-04-06 21:19:27 +08:00
}
)