I did this exercise in order to learn about internal hacking using DLL injection and interfacing ASM with Rust.
This code will not compile by itself, you need to create the rust structure which should look something like this
dll
├── Cargo.toml
├── build.rs
└── src
├── interceptor.asm
└── lib.rs
In the Cargo.toml
you have to specify this
[lib]
crate-type = ["cdylib"]
in order to create an injectable DLL because symbols 'n stuff.
The build script is just as simple as
fn main() {
cc::Build::new()
.file("src/interceptor.asm")
.compile("interceptor");
println!("cargo:rerun-if-changed=interceptor.asm");
}
Hello. Can you check instagram direct message?