Refactored config templates to inherit from ConfigTemplate class instead of BaseTemplate

This commit is contained in:
VakarisZ 2021-03-08 17:16:32 +02:00
parent 5f41ce54c6
commit 6a6dd67113
13 changed files with 27 additions and 14 deletions

View File

@ -1,9 +1,10 @@
from copy import copy
from envs.monkey_zoo.blackbox.island_configs.base_template import BaseTemplate
from envs.monkey_zoo.blackbox.config_templates.base_template import BaseTemplate
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
class Drupal(BaseTemplate):
class Drupal(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 Hadoop(BaseTemplate):
class Hadoop(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)

View File

@ -1,9 +1,10 @@
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 Mssql(BaseTemplate):
class Mssql(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 ShellShock(BaseTemplate):
class ShellShock(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 SmbMimikatz(BaseTemplate):
class SmbMimikatz(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 SmbPth(BaseTemplate):
class SmbPth(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_value_list = {

View File

@ -1,9 +1,10 @@
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 Ssh(BaseTemplate):
class Ssh(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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(BaseTemplate):
class Struts2(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)

View File

@ -1,9 +1,10 @@
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 Tunneling(BaseTemplate):
class Tunneling(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 Weblogic(BaseTemplate):
class Weblogic(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)

View File

@ -1,9 +1,10 @@
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 WmiMimikatz(BaseTemplate):
class WmiMimikatz(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 WmiPth(BaseTemplate):
class WmiPth(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)
config_values.update({

View File

@ -1,9 +1,10 @@
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 Zerologon(BaseTemplate):
class Zerologon(ConfigTemplate):
config_values = copy(BaseTemplate.config_values)