Skip to content

Commit

Permalink
updated mythic-cli to not report no matching keys and success
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Jan 29, 2024
1 parent c855cb2 commit bab908c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Mythic_CLI/src/cmd/config/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func SetConfigStrings(key string, value string) {
log.Printf("[-] Failed to find any matching keys")
return
}
log.Println("[+] Configuration successfully updated. Bring containers down and up for changes to take effect.")
writeMythicEnvironmentVariables()
}
func SetNewConfigStrings(key string, value string) {
Expand Down
2 changes: 0 additions & 2 deletions Mythic_CLI/src/cmd/configSet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package cmd
import (
"github.com/MythicMeta/Mythic_CLI/cmd/config"
"github.com/spf13/cobra"
"log"
)

// configSetCmd represents the configSet command
Expand All @@ -23,5 +22,4 @@ func init() {

func configSet(cmd *cobra.Command, args []string) {
config.SetConfigStrings(args[0], args[1])
log.Println("[+] Configuration successfully updated. Bring containers down and up for changes to take effect.")
}

0 comments on commit bab908c

Please sign in to comment.