Update API backend URLs from ngrok to seekright production server

This commit is contained in:
kawsik
2026-06-02 11:49:06 +05:30
parent b4acb8d1df
commit 3b2aa2ff95
5 changed files with 14 additions and 19 deletions

View File

@@ -7,12 +7,12 @@ import psutil
CLIENT_ID = "client_1"
import os
# Using the public ngrok URL so the agent can connect from anywhere in the world!
CENTRAL_API_URL = f"https://culprit-campfire-galore.ngrok-free.dev/api/get-command?client_id={CLIENT_ID}"
CENTRAL_TELEMETRY_URL = f"https://culprit-campfire-galore.ngrok-free.dev/api/telemetry?client_id={CLIENT_ID}"
# Using the central production backend URL
CENTRAL_API_URL = f"http://rmm-backend.seekright.com/api/get-command?client_id={CLIENT_ID}"
CENTRAL_TELEMETRY_URL = f"http://rmm-backend.seekright.com/api/telemetry?client_id={CLIENT_ID}"
platform_name = "nt" if os.name == "nt" else "posix"
CENTRAL_COMMANDS_URL = f"https://culprit-campfire-galore.ngrok-free.dev/api/get-commands?platform={platform_name}"
CENTRAL_COMMANDS_URL = f"http://rmm-backend.seekright.com/api/get-commands?platform={platform_name}"
# SECURITY MECHANISM: The "Whitelist"
# The agent NEVER executes arbitrary strings from the internet.