forked from p34709852/monkey
agent: Move GUID import to other imports
This commit is contained in:
parent
8c7fe00182
commit
5a871da26a
|
@ -1,3 +1,4 @@
|
||||||
|
from infection_monkey.config import GUID
|
||||||
from infection_monkey.model import CMD_CARRY_OUT, CMD_EXE, MONKEY_ARG
|
from infection_monkey.model import CMD_CARRY_OUT, CMD_EXE, MONKEY_ARG
|
||||||
from infection_monkey.model.host import VictimHost
|
from infection_monkey.model.host import VictimHost
|
||||||
|
|
||||||
|
@ -5,7 +6,6 @@ from infection_monkey.model.host import VictimHost
|
||||||
def build_monkey_commandline(
|
def build_monkey_commandline(
|
||||||
target_host: VictimHost, depth: int, vulnerable_port: str, location: str = None
|
target_host: VictimHost, depth: int, vulnerable_port: str, location: str = None
|
||||||
) -> str:
|
) -> str:
|
||||||
from infection_monkey.config import GUID
|
|
||||||
|
|
||||||
return "".join(
|
return "".join(
|
||||||
build_monkey_commandline_explicitly(
|
build_monkey_commandline_explicitly(
|
||||||
|
|
Loading…
Reference in New Issue