[File a bug report for the Demon Implant]: Implant crashes on 2nd download command
Contact Details
What happened?
The first download works fine and downloads the file, after that all exec commands still work. But the moment the download command is given 2nd time, the implant crashes. (sometimes crashes on the first download as well)

Did You Do a Pull First?
Latest (You performed a pull first)
Relevant log output
No response
Did You Read Over Your Issue First?
- [X] I declare I made an effort and provided the necessary information for replication of the issue.
Thank you so much for opening this issue. Can you reproduce this issue while enabling the debug dev flag on the teamserver
--debug-dev. After enabling it recompile the agent and send me the agent debug output after crashing. Thanks
I've been having the same issue. Attempting to download a file also seems to write a new file in the location with random characters at the end. Here is the output with --debug-dev enabled along with the files that were written.

Thank you so much for providing me with enough information. I am going to investigate that issue.
Thank you again for reporting it to me. It should be resolved now. Please check and close this issue if its working.
should be fixed in d98f8b6