Update README.md

This commit is contained in:
Jakob Friedl
2025-11-17 09:27:13 +01:00
parent d66f78337f
commit 3b5b570e24
3 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ The following projects and people have significantly inspired and/or helped with
- [Creds](https://github.com/S3cur3Th1sSh1t/Creds) by [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t/) - [Creds](https://github.com/S3cur3Th1sSh1t/Creds) by [S3cur3Th1sSh1t](https://github.com/S3cur3Th1sSh1t/)
- [malware](https://github.com/m4ul3r/malware/) by [m4ul3r](https://github.com/m4ul3r/) - [malware](https://github.com/m4ul3r/malware/) by [m4ul3r](https://github.com/m4ul3r/)
- [winim](https://github.com/khchen/winim) - [winim](https://github.com/khchen/winim)
- [OffensinveNim](https://github.com/byt3bl33d3r/OffensiveNim) - [OffensiveNim](https://github.com/byt3bl33d3r/OffensiveNim)
- Existing C2's written (partially) in Nim - Existing C2's written (partially) in Nim
- [NimPlant](https://github.com/chvancooten/NimPlant) - [NimPlant](https://github.com/chvancooten/NimPlant)
- [Nimhawk](https://github.com/hdbreaker/Nimhawk) - [Nimhawk](https://github.com/hdbreaker/Nimhawk)

View File

@@ -126,7 +126,7 @@ proc handleResult*(resultData: seq[byte]) =
# A binary result packet consists of the filename and file contents, both prefixed with their respective lengths as a uint32 value # A binary result packet consists of the filename and file contents, both prefixed with their respective lengths as a uint32 value
var unpacker = Unpacker.init(Bytes.toString(taskResult.data)) var unpacker = Unpacker.init(Bytes.toString(taskResult.data))
let let
fileName = unpacker.getDataWithLengthPrefix().replace("\\", "_").replace(":", "") # Replace path characters for better storage of downloaded files fileName = unpacker.getDataWithLengthPrefix().replace("\\", "_").replace("/", "_").replace(":", "") # Replace path characters for better storage of downloaded files
fileData = unpacker.getDataWithLengthPrefix() fileData = unpacker.getDataWithLengthPrefix()
# Create loot directory for the agent # Create loot directory for the agent