diff --git a/monkey/monkey_island/cc/server_utils/common_methods.py b/monkey/monkey_island/cc/server_utils/common_methods.py new file mode 100644 index 000000000..218f146ed --- /dev/null +++ b/monkey/monkey_island/cc/server_utils/common_methods.py @@ -0,0 +1,11 @@ +import platform + +WINDOWS = "Windows" +LINUX = "Linux" + + +def get_runtime_os() -> str: + if platform.system() == "Windows": + return WINDOWS + else: + return LINUX