diff --git a/implants/tombili/src/communication.nim b/implants/tombili/src/communication.nim index 0c5dc52..0a0577e 100644 --- a/implants/tombili/src/communication.nim +++ b/implants/tombili/src/communication.nim @@ -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): diff --git a/implants/tombili/src/config.nim b/implants/tombili/src/config.nim index 67d86ac..869d879 100644 --- a/implants/tombili/src/config.nim +++ b/implants/tombili/src/config.nim @@ -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