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