Refactored island imports according to latest changes
This commit is contained in:
parent
2f66b77a33
commit
6fb06bc24d
|
@ -31,9 +31,9 @@ from monkey_island.cc.resources.pba_file_download import PBAFileDownload
|
|||
from monkey_island.cc.services.config import ConfigService
|
||||
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH
|
||||
from monkey_island.cc.resources.pba_file_upload import FileUpload
|
||||
from monkey_island.cc.resources.attack_telem import AttackTelem
|
||||
from monkey_island.cc.resources.attack_config import AttackConfiguration
|
||||
from monkey_island.cc.resources.attack_report import AttackReport
|
||||
from monkey_island.cc.resources.attack.attack_telem import AttackTelem
|
||||
from monkey_island.cc.resources.attack.attack_config import AttackConfiguration
|
||||
from monkey_island.cc.resources.attack.attack_report import AttackReport
|
||||
|
||||
__author__ = 'Barak'
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import logging
|
||||
from cc.services.attack.technique_reports import T1210, T1197
|
||||
from cc.services.attack.attack_telem import get_latest_telem
|
||||
from cc.services.attack.attack_config import get_technique_values
|
||||
from cc.database import mongo
|
||||
from monkey_island.cc.services.attack.technique_reports import T1210, T1197
|
||||
from monkey_island.cc.services.attack.attack_telem import get_latest_telem
|
||||
from monkey_island.cc.services.attack.attack_config import get_technique_values
|
||||
from monkey_island.cc.database import mongo
|
||||
|
||||
__author__ = "VakarisZ"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from monkey_island.cc.services.attack.technique_reports.technique_service import *
|
||||
from cc.database import mongo
|
||||
from monkey_island.cc.database import mongo
|
||||
|
||||
__author__ = "VakarisZ"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
from monkey_island.cc.services.attack.technique_reports.technique_service import *
|
||||
from cc.services.report import ReportService
|
||||
from common.utils.attack_utils import ScanStatus
|
||||
|
||||
__author__ = "VakarisZ"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from cc.database import mongo
|
||||
from monkey_island.cc.database import mongo
|
||||
from common.utils.attack_utils import ScanStatus
|
||||
from cc.services.attack.attack_config import get_technique
|
||||
from monkey_island.cc.services.attack.attack_config import get_technique
|
||||
|
||||
__author__ = "VakarisZ"
|
||||
|
||||
|
|
|
@ -104,7 +104,6 @@ class AttackReportPageComponent extends AuthComponent {
|
|||
|
||||
generateReportContent(){
|
||||
let content = [];
|
||||
console.log(this.state.report);
|
||||
Object.keys(this.state.report).forEach((tech_id) => {
|
||||
content.push(this.getTechniqueCollapse(tech_id))
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue