|
|
@ -203,6 +203,7 @@ class Experiment():
|
|
|
|
plugin.set_attacker_machine(self.attacker_1)
|
|
|
|
plugin.set_attacker_machine(self.attacker_1)
|
|
|
|
plugin.set_logger(self.attack_logger)
|
|
|
|
plugin.set_logger(self.attack_logger)
|
|
|
|
plugin.set_caldera(self.caldera_control)
|
|
|
|
plugin.set_caldera(self.caldera_control)
|
|
|
|
|
|
|
|
plugin.install()
|
|
|
|
|
|
|
|
|
|
|
|
# plugin.__set_logger__(self.attack_logger)
|
|
|
|
# plugin.__set_logger__(self.attack_logger)
|
|
|
|
plugin.__execute__([target])
|
|
|
|
plugin.__execute__([target])
|
|
|
@ -220,6 +221,8 @@ class Experiment():
|
|
|
|
self.attack_logger.vprint(a_file, 2)
|
|
|
|
self.attack_logger.vprint(a_file, 2)
|
|
|
|
zfh.write(a_file)
|
|
|
|
zfh.write(a_file)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zfh.write(os.path.join(self.lootdir, "attack.json"))
|
|
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
@staticmethod
|
|
|
|
def __get_results_files(root):
|
|
|
|
def __get_results_files(root):
|
|
|
|
""" Yields a list of potential result files
|
|
|
|
""" Yields a list of potential result files
|
|
|
|