agent: Move GUID import to other imports

This commit is contained in:
Ilija Lazoroski 2021-06-21 20:35:06 +02:00 committed by Ilija Lazoroski
parent 8c7fe00182
commit 5a871da26a
1 changed files with 1 additions and 1 deletions

View File

@ -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(