Initial commit - able to produce a working Linux POC

This commit is contained in:
Dimitris Zervas
2023-05-23 17:21:14 +03:00
commit 11ec2f401b
8 changed files with 1561 additions and 0 deletions

14
src/main.rs Normal file
View File

@ -0,0 +1,14 @@
pub mod injector;
pub use injector::inject;
fn main() {
let args: Vec<String> = std::env::args().collect();
if args.len() < 2 {
println!("Usage: {} <PID>", args[0]);
return;
}
let pid: u32 = args[1].parse().unwrap();
inject(pid);
}