Get the Whitepaper called How to create a shellcode on Linux / x86.
You can download it from the following link: https://packetstormsecurity.com/files/download/90692/how-to-create-shellcode.txt
Source: https://packetstormsecurity.com/files/90692/how-to-create-shellcode.txt.html

