Skip to content

Commit

Permalink
updating command augment injection args
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Nov 26, 2024
1 parent 467d948 commit 56ef652
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.1-rc28] - 2024-11-26

### Changed
- Updated the command_augment injection process to use suggested_commands as well as builtin commands
- one of these two attributes needs to be set to true on the command augment's command for it to be automatically injected into new callbacks
- this is in conjunction with matching OS requirements and matching the command augment's supported payload types (if specified)

## [3.3.1-rc27] - 2024-11-26

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc27
3.3.1-rc28
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc27
3.3.1-rc28
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ func addCommandAugmentsToCallback(callbackID int, payloadOS string, payloadType
if builtinInterface, ok := attributes["builtin"]; ok {
builtin = builtinInterface.(bool)
}
if suggestedInterface, ok := attributes["suggested"]; ok {
if suggestedInterface, ok := attributes["suggested_command"]; ok {
suggested = suggestedInterface.(bool)
}
// only add augment commands where the command is builtin or suggested
Expand Down

0 comments on commit 56ef652

Please sign in to comment.