MythicAgents / thanatos

Mythic C2 agent targeting Linux and Windows hosts written in Rust
BSD 3-Clause "New" or "Revised" License
310 stars 42 forks source link

'download' command does not work #15

Closed timukas closed 10 months ago

timukas commented 10 months ago

Hi,

Running latest Mythic with latest Thanatos.

'download' command does not download specified file. 'No file id' error is shown:

image

Same file is successfully fetched with 'cat' and 'shell cat' commands.

P.s. Also noticed, that callback does not show process name:

image

MEhrn00 commented 10 months ago

Mythic changed the format for download and upload messages. The changes break download/upload and the ssh download/upload commands. Will push fixes for those too.

I did not implement the routines for getting the current process name when performing the initial check in. I am currently in the process of rewriting the agent so I will add that in the rewrite.