File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 ):
Original file line number Diff line number Diff line change 11from .rabbitmq import rabbitmqConnectionClass
22from .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
88RabbitmqConnection = rabbitmqConnectionClass ()
99
Original file line number Diff line number Diff line change 1010# This call to setup() does all the work
1111setup (
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" ,
You can’t perform that action at this time.
0 commit comments