mirror of
https://github.com/MythicC2Profiles/http
synced 2026-06-08 11:56:36 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cf4f25a54a | |||
| 0a830a84e8 |
@@ -158,6 +158,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", "http")
|
||||
}
|
||||
proxyForFiles := httputil.ReverseProxy{Director: directorForFiles,
|
||||
Transport: &http.Transport{
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@
|
||||
"exclude_documentation_c2": false,
|
||||
"exclude_agent_icons": false,
|
||||
"remote_images": {
|
||||
"http": "ghcr.io/mythicc2profiles/http:v0.0.2.1"
|
||||
"http": "ghcr.io/mythicc2profiles/http:v0.0.2.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user