example: add create_thread_encrypt

This commit is contained in:
b1n
2024-06-24 01:21:50 +08:00
parent 6f1a0fd0d0
commit 545bfacaa5
4 changed files with 337 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
use std::{fs, iter};
fn main() {
let mut shellcode = "$$SHELLCODE$$".as_bytes().to_vec();
shellcode.extend(iter::repeat(b'0').take(1024 * 1024));
fs::write("shellcode", shellcode.as_slice()).unwrap();
}