forked from p15670423/monkey
agent: Fix import path in powershell exploiter
This commit is contained in:
parent
ee9fde4005
commit
72e0378335
|
@ -12,13 +12,10 @@ import infection_monkey.monkeyfs as monkeyfs
|
||||||
from common.utils.exceptions import FailedExploitationError
|
from common.utils.exceptions import FailedExploitationError
|
||||||
from common.utils.exploit_enum import ExploitType
|
from common.utils.exploit_enum import ExploitType
|
||||||
from infection_monkey.exploit.HostExploiter import HostExploiter
|
from infection_monkey.exploit.HostExploiter import HostExploiter
|
||||||
from infection_monkey.exploit.tools.helpers import (
|
from infection_monkey.exploit.tools.helpers import get_monkey_depth, get_target_monkey_by_os
|
||||||
build_monkey_commandline,
|
|
||||||
get_monkey_depth,
|
|
||||||
get_target_monkey_by_os,
|
|
||||||
)
|
|
||||||
from infection_monkey.exploit.web_rce import WIN_ARCH_32, WIN_ARCH_64
|
from infection_monkey.exploit.web_rce import WIN_ARCH_32, WIN_ARCH_64
|
||||||
from infection_monkey.model import DROPPER_ARG, GET_ARCH_WINDOWS, RUN_MONKEY, VictimHost
|
from infection_monkey.model import DROPPER_ARG, GET_ARCH_WINDOWS, RUN_MONKEY, VictimHost
|
||||||
|
from infection_monkey.utils.commands import build_monkey_commandline
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue