mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-19 09:04:30 -07:00
example: add create_thread
This commit is contained in:
7
examples/create_thread/build.rs
Normal file
7
examples/create_thread/build.rs
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user