Update README.md
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user