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 Struts2(ConfigTemplate):
|
2021-03-02 21:01:56 +08:00
|
|
|
|
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": ["Struts2Exploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.23", "10.2.2.24"],
|
|
|
|
}
|
|
|
|
)
|