Simple Shellcode Runner in Rust
Understanding a Shellcode Runner in Rust: Detailed Walkthrough
[package]
name = "shellcode-runner-request"
version = "0.1.0"
edition = "2021"
[dependencies]
winapi = { version = "0.3", features = ["memoryapi", "processthreadsapi", "synchapi", "winnt"] }
reqwest = "0.11"
tokio = { version = "1", features = ["full"] }1. Asynchronous Main Function
2. Downloading the Shellcode
3. Allocating Memory for the Shellcode
4. Copying the Shellcode to Memory
5. Executing the Shellcode
6. Waiting for the Thread to Finish
Compiling the Code
Running the Executable
Last updated