refactor: rename apollo payload type to ares

Update imports and class names from 'apollo' to 'ares' to reflect the payload type's new name. This change ensures consistency across the codebase after the renaming.
This commit is contained in:
Aryma
2026-04-14 15:54:34 +07:00
parent d2dae022a4
commit 30ea3db3c5
5 changed files with 9 additions and 9 deletions

View File

@@ -132,8 +132,8 @@ def validate_httpx_config(config_data):
return None # Validation passed
class Apollo(PayloadType):
name = "apollo"
class Ares(PayloadType):
name = "ares"
file_extension = "exe"
author = "@djhohnstein, @its_a_feature_"
mythic_encrypts = True
@@ -281,8 +281,8 @@ NOTE: v2.3.2+ has a different bof loader than 2.3.1 and are incompatible since t
]
)
]
agent_path = pathlib.Path(".") / "apollo" / "mythic"
agent_code_path = pathlib.Path(".") / "apollo" / "agent_code"
agent_path = pathlib.Path(".") / "ares" / "mythic"
agent_code_path = pathlib.Path(".") / "ares" / "agent_code"
agent_icon_path = agent_path / "agent_functions" / "XF-09_Ares.png"
build_steps = [
BuildStep(step_name="Gathering Files", step_description="Copying files to temp location"),
@@ -305,7 +305,7 @@ NOTE: v2.3.2+ has a different bof loader than 2.3.1 and are incompatible since t
defines_commands_upper = ["#define EXIT"]
if self.get_parameter('debug'):
possibleCommands = await SendMythicRPCCommandSearch(MythicRPCCommandSearchMessage(
SearchPayloadTypeName="apollo",
SearchPayloadTypeName="ares",
))
if possibleCommands.Success:
resp.updated_command_list = [c.Name for c in possibleCommands.Commands]

View File

@@ -3,7 +3,7 @@ import json
from mythic_container.MythicRPC import *
import base64
import sys
from apollo.mythic.agent_functions.register_file import *
from ares.mythic.agent_functions.register_file import *
class PowerShellImportAlias(RegisterFileCommand, CommandBase):

View File

@@ -3,7 +3,7 @@ import json
from mythic_container.MythicRPC import *
import base64
import sys
from apollo.mythic.agent_functions.register_file import *
from ares.mythic.agent_functions.register_file import *
class RegisterAssemblyAlias(RegisterFileCommand, CommandBase):
cmd = "register_assembly"

View File

@@ -1,7 +1,7 @@
from mythic_container.MythicCommandBase import *
import json
from mythic_container.MythicRPC import *
from apollo.mythic.agent_functions.register_file import *
from ares.mythic.agent_functions.register_file import *
import base64

View File

@@ -1,4 +1,4 @@
import mythic_container
from apollo.mythic import *
from ares.mythic import *
mythic_container.mythic_service.start_and_run_forever()