Skip to content

Commit

Permalink
updating mythic-cli
Browse files Browse the repository at this point in the history
fixing bug with documentation container for wrapper payloads
  • Loading branch information
its-a-feature committed Feb 20, 2024
1 parent d11cdec commit c3cf3f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Mythic_CLI/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 0.2.19 - 2024-02-20

### Changed

- During installation there's a typo for checking the .env for the documentation_use_volume boolean that broke wrapper installs

## 0.2.18 - 2024-02-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Mythic_CLI/src/cmd/config/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package config

var (
// Version Mythic CLI version
Version = "v0.2.18"
Version = "v0.2.19"
)
4 changes: 2 additions & 2 deletions Mythic_CLI/src/cmd/internal/installservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func InstallFolder(installPath string, overWrite bool) error {
for _, f := range files {
if f.IsDir() {
log.Printf("[*] Processing Documentation for %s\n", f.Name())
if !config.GetMythicEnv().GetBool("document_use_volume") {
if !config.GetMythicEnv().GetBool("documentation_use_volume") {
if utils.DirExists(filepath.Join(workingPath, "documentation-docker", "content", "C2 Profiles", f.Name())) {
if overWrite || config.AskConfirm("[*] "+f.Name()+" documentation already exists. Replace current version? ") {
log.Printf("[*] Removing current version\n")
Expand Down Expand Up @@ -281,7 +281,7 @@ func InstallFolder(installPath string, overWrite bool) error {
for _, f := range files {
if f.IsDir() {
log.Printf("[*] Processing Documentation for %s\n", f.Name())
if config.GetMythicEnv().GetBool("document_local_bind_mount") {
if config.GetMythicEnv().GetBool("documentation_use_volume") {
if utils.DirExists(filepath.Join(workingPath, "documentation-docker", "content", "Wrappers", f.Name())) {
if overWrite || config.AskConfirm("[*] "+f.Name()+" documentation already exists. Replace current version? ") {
log.Printf("[*] Removing current version\n")
Expand Down

0 comments on commit c3cf3f9

Please sign in to comment.