mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-15 07:14:30 -07:00
7 lines
219 B
Rust
7 lines
219 B
Rust
|
|
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();
|
||
|
|
}
|