Here is the Source

Table of Contents
Introduction
Part 1: The Basics
What’s Shellcode?
The Types of Shellcode

Part 2: Writing Shellcode
Shellcode Skeleton
The Tools
Getting the Delta
Getting the Kernel32 imagebase
Getting the APIs
Null-Free byte Shellcode
Alphanumeric Shellcode
Egg-hunting Shellcode

Part 2: The Payload
Socket Programming
Bind Shell Payload
Reverse Shell Payload
Download & Execute Payload
Put All Together

Part 4: Implement your Shellcode into Metasploit

Conclusion
References
Appendix I – Important Structures