mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-06-13 02:54:13 +00:00
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:
@@ -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]
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import mythic_container
|
||||
from apollo.mythic import *
|
||||
from ares.mythic import *
|
||||
|
||||
mythic_container.mythic_service.start_and_run_forever()
|
||||
Reference in New Issue
Block a user