Skip to content

Commit

Permalink
v0.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Mar 4, 2024
1 parent 8ca4d78 commit de8c593
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

## [v0.4.11] - 2024-03-04

### Changed

- Added `agent_type` attribute for Payload Types

## [v0.4.10] - 2024-02-13

### Changed
Expand Down
4 changes: 4 additions & 0 deletions mythic_container/PayloadBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ class PayloadType:
Dictionary of RPC name to awaitable RPC function that other services can call
message_format (str):
Defaults to `json`, but you can optionally specify `xml` to have your messages parsed and returned as xml instead of JSON for Mythic
agent_type (str):
Defaults to `agent`, but you can optionally specify `service` to report back as a 3rd party service agent
Functions:
build(self):
Expand All @@ -521,6 +523,7 @@ class PayloadType:
agent_code_path = None
agent_browserscript_path = None
message_format = 'json'
agent_type = 'agent'
custom_rpc_functions: dict[
str, Callable[[PTOtherServiceRPCMessage], Awaitable[PTOtherServiceRPCMessageResponse]]] = {}

Expand Down Expand Up @@ -662,6 +665,7 @@ def to_json(self):
"build_steps": [x.to_json() for x in self.build_steps],
"agent_icon": base64.b64encode(agent_bytes).decode(),
"message_format": self.message_format,
"agent_type": self.agent_type
}

def __str__(self):
Expand Down
4 changes: 2 additions & 2 deletions mythic_container/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from .rabbitmq import rabbitmqConnectionClass
from .mythic_service import start_and_run_forever, test_command

containerVersion = "v1.1.6"
containerVersion = "v1.1.7"

PyPi_version = "0.4.10"
PyPi_version = "0.4.11"

RabbitmqConnection = rabbitmqConnectionClass()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This call to setup() does all the work
setup(
name="mythic_container",
version="0.4.10",
version="0.4.11",
description="Functionality for Mythic Services",
long_description=README,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit de8c593

Please sign in to comment.