pull/12/head
Thorsten Sick 3 years ago
parent 3f32551414
commit f8e38793ce

@ -6,6 +6,7 @@ import json
import os
from jinja2 import Environment, FileSystemLoader, select_autoescape
class DocGenerator():
""" Generates human readable docs from attack logs """

@ -19,7 +19,6 @@ from machine_control import Machine
from plugins.base.attack import AttackPlugin
# TODO: Multi threading at least when starting machines
class Experiment():

@ -2,9 +2,6 @@
# A standalone document generator. Takes an attack log and generates a doc using templates. Functionality will later be merged into PurpleDome
import json
from jinja2 import Environment, FileSystemLoader, select_autoescape
# from pprint import pprint
import argparse
from app.doc_generator import DocGenerator
@ -25,4 +22,4 @@ if __name__ == "__main__":
arguments = create_parser().parse_args()
dg = DocGenerator()
dg.generate(arguments.attack_log, arguments.outfile)
dg.generate(arguments.attack_log, arguments.outfile)

Loading…
Cancel
Save