mirror of
https://github.com/trickster0/OffensiveRust
synced 2026-06-08 17:54:47 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
67a67c22a3
commit
09b0326104
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user