diff --git a/C2_Profiles/httpx/httpx/c2_code/webserver/initialize.go b/C2_Profiles/httpx/httpx/c2_code/webserver/initialize.go index 9806d63..3cdbfd9 100644 --- a/C2_Profiles/httpx/httpx/c2_code/webserver/initialize.go +++ b/C2_Profiles/httpx/httpx/c2_code/webserver/initialize.go @@ -180,6 +180,7 @@ func setRoutes(r *gin.Engine, configInstance instanceConfig) { req.URL.Host = fmt.Sprintf("%s:%d", mythicConfig.MythicConfig.MythicServerHost, mythicConfig.MythicConfig.MythicServerPort) req.Host = fmt.Sprintf("%s:%d", mythicConfig.MythicConfig.MythicServerHost, mythicConfig.MythicConfig.MythicServerPort) req.URL.Path = fmt.Sprintf("/direct/download/%s", localVal) + req.Header.Add("mythic", "httpx") } proxyForFiles := httputil.ReverseProxy{Director: directorForFiles, Transport: &http.Transport{