Skip to content

Commit de8c593

Browse files
committed
v0.4.11
1 parent 8ca4d78 commit de8c593

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
## [v0.4.11] - 2024-03-04
3+
4+
### Changed
5+
6+
- Added `agent_type` attribute for Payload Types
7+
28
## [v0.4.10] - 2024-02-13
39

410
### Changed

mythic_container/PayloadBuilder.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ class PayloadType:
496496
Dictionary of RPC name to awaitable RPC function that other services can call
497497
message_format (str):
498498
Defaults to `json`, but you can optionally specify `xml` to have your messages parsed and returned as xml instead of JSON for Mythic
499+
agent_type (str):
500+
Defaults to `agent`, but you can optionally specify `service` to report back as a 3rd party service agent
499501
500502
Functions:
501503
build(self):
@@ -521,6 +523,7 @@ class PayloadType:
521523
agent_code_path = None
522524
agent_browserscript_path = None
523525
message_format = 'json'
526+
agent_type = 'agent'
524527
custom_rpc_functions: dict[
525528
str, Callable[[PTOtherServiceRPCMessage], Awaitable[PTOtherServiceRPCMessageResponse]]] = {}
526529

@@ -662,6 +665,7 @@ def to_json(self):
662665
"build_steps": [x.to_json() for x in self.build_steps],
663666
"agent_icon": base64.b64encode(agent_bytes).decode(),
664667
"message_format": self.message_format,
668+
"agent_type": self.agent_type
665669
}
666670

667671
def __str__(self):

mythic_container/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from .rabbitmq import rabbitmqConnectionClass
22
from .mythic_service import start_and_run_forever, test_command
33

4-
containerVersion = "v1.1.6"
4+
containerVersion = "v1.1.7"
55

6-
PyPi_version = "0.4.10"
6+
PyPi_version = "0.4.11"
77

88
RabbitmqConnection = rabbitmqConnectionClass()
99

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# This call to setup() does all the work
1111
setup(
1212
name="mythic_container",
13-
version="0.4.10",
13+
version="0.4.11",
1414
description="Functionality for Mythic Services",
1515
long_description=README,
1616
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)