From 5a871da26a17a1cd1292bfa0e97c94e0f7d9d78b Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 21 Jun 2021 20:35:06 +0200 Subject: [PATCH] agent: Move GUID import to other imports --- monkey/infection_monkey/utils/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/utils/commands.py b/monkey/infection_monkey/utils/commands.py index 77d385d74..b2b5745ba 100644 --- a/monkey/infection_monkey/utils/commands.py +++ b/monkey/infection_monkey/utils/commands.py @@ -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.host import VictimHost @@ -5,7 +6,6 @@ from infection_monkey.model.host import VictimHost def build_monkey_commandline( target_host: VictimHost, depth: int, vulnerable_port: str, location: str = None ) -> str: - from infection_monkey.config import GUID return "".join( build_monkey_commandline_explicitly(