A tutorial on how to write shellcode and exploits, and how buffer overflows work in general. It aims to be detailed and suitable for novice exploit coders with some C understanding.
You can download it from the following link: https://packetstormsecurity.com/files/download/11358/exploit.txt
Source: https://packetstormsecurity.com/files/11358/exploit.txt.html