forked from p15670423/monkey
Agent: Use `ExploiterWrapper` for loading the Hadoop exploiter
This commit is contained in:
parent
eb9adc08c2
commit
4d6869fbf6
|
@ -223,7 +223,9 @@ class InfectionMonkey:
|
||||||
exploit_wrapper.wrap(SSHExploiter),
|
exploit_wrapper.wrap(SSHExploiter),
|
||||||
PluginType.EXPLOITER,
|
PluginType.EXPLOITER,
|
||||||
)
|
)
|
||||||
puppet.load_plugin("HadoopExploiter", HadoopExploiter(), PluginType.EXPLOITER)
|
puppet.load_plugin(
|
||||||
|
"HadoopExploiter", exploit_wrapper.wrap(HadoopExploiter), PluginType.EXPLOITER
|
||||||
|
)
|
||||||
|
|
||||||
puppet.load_plugin("ransomware", RansomwarePayload(), PluginType.PAYLOAD)
|
puppet.load_plugin("ransomware", RansomwarePayload(), PluginType.PAYLOAD)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue