From 7e66a26dcc5bfbd2dc693e0f0d6756dea207daa1 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 5 Sep 2025 04:01:04 -0600 Subject: [PATCH] Fixed Broken Device Inventory Data --- Borealis.ps1 | 1 - Data/Agent/agent_info.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Borealis.ps1 b/Borealis.ps1 index 350582f..9e9bb5e 100644 --- a/Borealis.ps1 +++ b/Borealis.ps1 @@ -27,7 +27,6 @@ if ($Vite -and $Flask) { } if ($Server) { - $choice = '1' } elseif ($Agent) { $choice = '2' switch ($AgentAction) { diff --git a/Data/Agent/agent_info.py b/Data/Agent/agent_info.py index 6e7f070..9f74da5 100644 --- a/Data/Agent/agent_info.py +++ b/Data/Agent/agent_info.py @@ -16,6 +16,7 @@ try: except Exception: psutil = None # graceful degradation if unavailable import aiohttp +import asyncio def detect_agent_os(): @@ -551,4 +552,3 @@ async def send_agent_details(agent_id, config): except Exception as e: print(f"[WARN] Failed to send agent details: {e}") await asyncio.sleep(300) -