Fixed plugins

pull/10/head
Thorsten Sick 3 years ago
parent b2c36de402
commit 04215b1394

@ -39,7 +39,7 @@ class SensorPlugin(BasePlugin):
""" Install the sensor. Executed on the target. Take the sensor from the share and (maybe) copy it to its destination. Do some setup
"""
raise NotImplementedError
raise True
def start(self, disown=None):
""" Start the sensor. The connection to the client is disowned here. = Sent to background. This keeps the process running.
@ -47,12 +47,12 @@ class SensorPlugin(BasePlugin):
@param disown: Send async into background
"""
raise NotImplementedError
raise True
def stop(self):
""" Stop the sensor """
raise NotImplementedError
raise True
def __call_collect__(self, machine_path):
""" Generate the data collect command

@ -6,7 +6,7 @@ from plugins.base.attack import AttackPlugin
from app.metasploit import MetasploitInstant
class MetasploitMigratePlugin(AttackPlugin):
class MetasploitClearevPlugin(AttackPlugin):
# Boilerplate
name = "metasploit_clearev"

@ -6,7 +6,7 @@ from plugins.base.attack import AttackPlugin
from app.metasploit import MetasploitInstant
class MetasploitKeyloggingPlugin(AttackPlugin):
class MetasploitGetuidPlugin(AttackPlugin):
# Boilerplate
name = "metasploit_getuid"

@ -6,7 +6,7 @@ from plugins.base.attack import AttackPlugin
from app.metasploit import MetasploitInstant
class MetasploitKeyloggingPlugin(AttackPlugin):
class MetasploitSysinfoPlugin(AttackPlugin):
# Boilerplate
name = "metasploit_sysinfo"

@ -116,8 +116,8 @@ caldera_attacks:
- "bd527b63-9f9e-46e0-9816-b8434d2b8989"
###
# Kali tool based attacks. Will result in kali commandline tools to be called. Currently supported are: "hydra"
kali_attacks:
# Plugin based attacks. Will result in plugins being called
plugin_based_attacks:
###
# Linux specific attacks, a list
linux:

Loading…
Cancel
Save