Implementing a web server in a single printf() call
If you want to read more about shellcode/C vulnerabilities you can check out the Phrack and other links at Stanford's CS155 web site: <a href="https://courseware.stanford.edu/pg/assignments/view/280907/buffer-overflow-1" rel="nofollow">https://courseware.stanford.edu/pg/assignments/view/280907/b...</a><p>The Buffer Overflow #1 and #2 projects might also be worth checking out. You can download the project description, starter code, and VM image, and see if you can write code to get the root shell.