async def get_all_disabled_commands_profiles(self) -> MythicResponse:
Get all of the disabled command profiles associated with Mythic
async def create_disabled_commands_profile(
self, profile: DisabledCommandsProfile
Create a new disabled command profiles associated with Mythic
async def update_disabled_commands_profile(
self, profile: DisabledCommandsProfile
Create a new disabled command profiles associated with Mythic
async def update_disabled_commands_profile_for_operator(
profile: Union[DisabledCommandsProfile, str],
# async def add_or_update_operator_for_operation(self, operation: Operation, operator: Operator)
if isinstance(profile, mythic_rest.DisabledCommandsProfile):
operator.base_disabled_commands = profile.name
operator.base_disabled_commands = profile
resp = await self.add_or_update_operator_for_operation(operation, operator)