woody-woodpacker/gen_payload.sh

2 lines
164 B
Bash
Raw Normal View History

2024-08-30 13:10:07 +00:00
nasm -f elf64 -o payload.o $1 && ld -o a.out payload.o && nasm -f bin -o payload $1 && hexdump -v -e '"\\\x\" 1/1 "%02x"' payload && rm -rf payload.o payload a.out