updated the example translator code

This commit is contained in:
Cody Thomas
2022-01-07 11:33:00 -08:00
parent 1beab1f06d
commit f8ac69c84e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
FROM itsafeaturemythic/python38_translator_container:0.0.3
FROM itsafeaturemythic/python38_translator_container:0.0.4
@@ -6,7 +6,7 @@ import sys
# If the associated C2Profile has `mythic_encrypts` set to False, then this function should also decrypt
# the message
# request will be JSON with the following format:
# { "action": "translate_from_c2_format",
# {
# "enc_key": None or base64 of key if Mythic knows of one,
# "dec_key": None or base64 of key if Mythic knows of one,
# "uuid": uuid of the message,
@@ -30,7 +30,7 @@ async def translate_from_c2_format(request) -> dict:
# If the associated C2Profile has `mythic_encrypts` set to False, then this function should also encrypt
# the message
# request will be JSON with the following format:
# { "action": "translate_to_c2_format",
# {
# "enc_key": None or base64 of key if Mythic knows of one,
# "dec_key": None or base64 of key if Mythic knows of one,
# "uuid": uuid of the message,
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/env python3
from mythic_translator_container import mythic_service
mythic_service.start_service_and_heartbeat(debug=True)
mythic_service.start_service_and_heartbeat()