forked from p15670423/monkey
Moved scoutsuit submodule directory, because island might want to call it's method to check for setup
This commit is contained in:
parent
04b00febd1
commit
9dc0211341
|
@ -5,5 +5,5 @@
|
||||||
path = docs/themes/learn
|
path = docs/themes/learn
|
||||||
url = https://github.com/guardicode/hugo-theme-learn.git
|
url = https://github.com/guardicode/hugo-theme-learn.git
|
||||||
[submodule "monkey/infection_monkey/system_info/collectors/scoutsuite"]
|
[submodule "monkey/infection_monkey/system_info/collectors/scoutsuite"]
|
||||||
path = monkey/infection_monkey/system_info/collectors/scoutsuite_collector/scoutsuite
|
path = monkey/common/cloud/scoutsuite
|
||||||
url = https://github.com/ShayNehmad/ScoutSuite.git
|
url = https://github.com/ShayNehmad/ScoutSuite.git
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 6d7178d7a1249024bea0ec20985f73aa35ab4809
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit e5f9760a822cc8856a1be3da691c511ad32ad7dd
|
|
|
@ -2,8 +2,7 @@ import pkgutil
|
||||||
import sys
|
import sys
|
||||||
from pathlib import PurePath
|
from pathlib import PurePath
|
||||||
|
|
||||||
_scoutsuite_api_package = pkgutil.get_loader('infection_monkey.system_info.collectors.'
|
_scoutsuite_api_package = pkgutil.get_loader('common.cloud.scoutsuite.ScoutSuite.__main__')
|
||||||
'scoutsuite_collector.scoutsuite.ScoutSuite.__main__')
|
|
||||||
|
|
||||||
|
|
||||||
def _add_scoutsuite_to_python_path():
|
def _add_scoutsuite_to_python_path():
|
||||||
|
@ -13,7 +12,7 @@ def _add_scoutsuite_to_python_path():
|
||||||
|
|
||||||
_add_scoutsuite_to_python_path()
|
_add_scoutsuite_to_python_path()
|
||||||
|
|
||||||
import infection_monkey.system_info.collectors.scoutsuite_collector.scoutsuite.ScoutSuite.api_run as scoutsuite_api
|
import common.cloud.scoutsuite.ScoutSuite.api_run as scoutsuite_api
|
||||||
|
|
||||||
|
|
||||||
def run(*args, **kwargs):
|
def run(*args, **kwargs):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from common.common_consts.telem_categories import TelemCategoryEnum
|
from common.common_consts.telem_categories import TelemCategoryEnum
|
||||||
from infection_monkey.system_info.collectors.scoutsuite_collector.scoutsuite.ScoutSuite.output.result_encoder import \
|
from common.cloud.scoutsuite.ScoutSuite.output.result_encoder import \
|
||||||
ScoutJsonEncoder
|
ScoutJsonEncoder
|
||||||
from infection_monkey.telemetry.base_telem import BaseTelem
|
from infection_monkey.telemetry.base_telem import BaseTelem
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue