2021-03-05 16:46:07 +08:00
|
|
|
from copy import copy
|
|
|
|
|
2021-03-02 21:01:56 +08:00
|
|
|
from envs.monkey_zoo.blackbox.island_configs.base_template import BaseTemplate
|
|
|
|
|
|
|
|
|
|
|
|
class Struts2(BaseTemplate):
|
|
|
|
|
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": ["Struts2Exploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.23", "10.2.2.24"]
|
|
|
|
})
|