Update README.md

This commit is contained in:
Thanasis Tserpelis
2021-11-14 12:22:52 +02:00
committed by GitHub
parent 67a67c22a3
commit 09b0326104
+2 -1
View File
@@ -146,7 +146,8 @@ In addition, this project also has a shellcode generator that grabs the .text se
and dumps the shellcode after executing some patches.
This project grabs from a specific location the binary so I made a fork that receives the path of the binary as an argument [here](https://github.com/trickster0/rust-windows-shellcode-custom).
- Even if you remove all debug symbols, rust can still keep references to your home directory in the binary. The only way I've found to remove this is to pass the following flag: `--remap-path-prefix {your home directory}={some random identifier}`. You can use bash variables to get your home directory and generate a random placeholder: `--remap-path-prefix "$HOME"="$RANDOM"`. (By [Yamakadi](https://github.com/yamakadi))
- Although for the above there is another way to remove info about the home directory by adding at the top of Cargo.toml cargo-features = ["strip"] .
- Although for the above there is another way to remove info about the home directory by adding at the top of Cargo.toml
`cargo-features = ["strip"]` .
## Other projects I have have made in Rust