Added user agent to configuration

This commit is contained in:
connorgadbois 2026-09-29 11:36:51 -05:00
parent dcd4663cae
commit 9a237762d9
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,8 @@ const
STATUS_INVALID*: int = 4 STATUS_INVALID*: int = 4
let client: HttpClient = newHttpClient() let client: HttpClient = newHttpClient()
client.headers = newHttpHeaders({obf("UserAgent"): USER_AGENT, obf("Content-Type"): obf("application/json")})
let ip: string = $getPrimaryIPAddr() let ip: string = $getPrimaryIPAddr()
when defined(windows): when defined(windows):

View File

@ -3,6 +3,7 @@ import utils
const const
IMPLANT_ID*: string = obf("tombili") IMPLANT_ID*: string = obf("tombili")
SERVER_BASE_URL*: string = obf("http://127.0.0.1:3000/") SERVER_BASE_URL*: string = obf("http://127.0.0.1:3000/")
USER_AGENT*: string = obf("")
REG_FAIL_LIMIT*: int = 10 # 0 for no limit REG_FAIL_LIMIT*: int = 10 # 0 for no limit
REG_FAIL_RETRY_SLEEP*: int = 10 # seconds REG_FAIL_RETRY_SLEEP*: int = 10 # seconds
CHECKIN_SLEEP*: int = 10 # seconds CHECKIN_SLEEP*: int = 10 # seconds