Depends on what host Operating System is being used and what DBMS is running. There's lots of papers about SQL Injection out there, ask Google to direct you to the appropriate one after you find out the answers to the previous questions.
Start reading about how to exploit buffer overflow vulnerabilities. Theres some links in my last post to AnActivists "Pentesting Documentation" thread.



