2024-02-21 12:54:33 +00:00
|
|
|
Transform payload code in hexa :
|
2024-02-23 13:17:23 +00:00
|
|
|
nasm -f elf64 -o print.o print.s && ld -o print print.o && nasm -f bin -o payload print.s && hexdump -v -e '"\\\x\" 1/1 "%02x"' payload
|
2024-02-21 12:54:33 +00:00
|
|
|
|
2024-02-23 13:17:23 +00:00
|
|
|
To get it in the clipboad directly append :
|
|
|
|
| xclip -sel clip to directly
|