4 ms·
Exploit payloads (shellcode)
by rickoooooo 3y ago
Exploit payloads (shellcode)
- cinntaile 3y agoI have always wondered why they are written in assembly. Is it "just" to guarantee the exact shape, size and contents of the payload or are there other reasons?
- dazed_confused 3y agoSize is very important but in the case of memory copying errors, removing null bytes is key to prevent the copy from terminating early. Additionally, you may be creating/modifying a new stack in some cases.