Skip to content

Commit

Permalink
quick fix for delegate messages
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Aug 24, 2024
1 parent 596c6f7 commit 3da1dda
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions 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](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.0-rc22]

### Changed

- Updated the delegates responses to get added without the get_delegate_tasking check

## [3.3.0-rc20] - 2024-08-23

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc21
3.3.0-rc22
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc21
3.3.0-rc22
6 changes: 3 additions & 3 deletions mythic-docker/src/rabbitmq/util_agent_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,9 @@ func recursiveProcessAgentMessage(agentMessageInput AgentMessageRawInput) recurs
// regardless of the message type, get proxy data if it exists (for both socks and rpfwd)
if getDelegateMessages {
delegateResponses = append(delegateResponses, getDelegateProxyMessages(uuidInfo.CallbackID, agentUUIDLength, agentMessageInput.UpdateCheckinTime)...)
if len(delegateResponses) > 0 {
response["delegates"] = delegateResponses
}
}
if len(delegateResponses) > 0 {
response["delegates"] = delegateResponses
}
// get first order proxy data not for delegate callbacks
if proxyData, err := proxyPorts.GetDataForCallbackIdPortType(uuidInfo.CallbackID, CALLBACK_PORT_TYPE_SOCKS); err != nil {
Expand Down

0 comments on commit 3da1dda

Please sign in to comment.