updating mythic container package version

This commit is contained in:
its-a-feature
2024-11-19 08:25:58 -06:00
parent 239a2a6d1a
commit 44fbb4ead7
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ toolchain go1.22.2
//replace github.com/MythicMeta/MythicContainer => ../../../../MythicMeta/MythicContainer
require github.com/MythicMeta/MythicContainer v1.4.6
require github.com/MythicMeta/MythicContainer v1.4.8
require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
+2
View File
@@ -6,6 +6,8 @@ github.com/MythicMeta/MythicContainer v1.4.5 h1:bnXH3eA3NXpENk5ljUi9j91M2nfupztz
github.com/MythicMeta/MythicContainer v1.4.5/go.mod h1:f9nIBe8teDUW+NP/jYw9Otor1RZHXpC/4cxMv88+KQE=
github.com/MythicMeta/MythicContainer v1.4.6 h1:d+fD/WuhpWAl+MbaXB/c+OUxxT26AWUjtpCwCAo/42o=
github.com/MythicMeta/MythicContainer v1.4.6/go.mod h1:f9nIBe8teDUW+NP/jYw9Otor1RZHXpC/4cxMv88+KQE=
github.com/MythicMeta/MythicContainer v1.4.8 h1:/x8TJHQp5NKqmv3AK9zFBHi1L+PBHCoBx2ztjd54WRg=
github.com/MythicMeta/MythicContainer v1.4.8/go.mod h1:BnUYftqQ9KsGxBd6RlyRcAHBrqV1CUcrRCjktWwc2Do=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+3 -7
View File
@@ -386,13 +386,9 @@ RewriteCond %%{HTTP_USER_AGENT} "%s"`
config.Instances[i].PayloadHostPaths = make(map[string]string)
}
if message.Remove {
if message.HostURL != "" {
delete(config.Instances[i].PayloadHostPaths, message.HostURL)
} else {
for j, _ := range config.Instances[i].PayloadHostPaths {
if config.Instances[i].PayloadHostPaths[j] == message.FileUUID {
delete(config.Instances[i].PayloadHostPaths, j)
}
for j, _ := range config.Instances[i].PayloadHostPaths {
if config.Instances[i].PayloadHostPaths[j] == message.FileUUID {
delete(config.Instances[i].PayloadHostPaths, j)
}
}
} else {