What was the title of the book you purchased? Can you share its name?
Hacking: The Art of Exploitation, 2nd Edition
A Guide to Kernel Exploitation: Attacking the Core
http://www.amazon.com/Guide-Kernel-Exploitation-Attacking-Co......if you're interested in the kernel level exploits.
disclaimer: A co-worker of mine co-authored it.