Compiling and Debugging Windows Programs
Development tools are not included with Windows, but that doesn’t mean you need to spend $1,000 for Visual Studio to experiment with exploit writing. (If you have it already, great—feel free to use it for this chapter.) You can download for free the same compiler and debugger Microsoft bundles with Visual Studio .NET 2003 Professional. In this section, we’ll show you how to initially setup your Windows exploit workstation.
Compiling on Windows
The Microsoft C/C++ Optimizing Compiler and Linker are available for free from http://msdn.microsoft.com/vstudio/express/visualc/default.aspx. After a 32MB download and a straightforward install, you’ll have a Start menu link to the Visual C++ 2005 Express Edition. ...
Get Gray Hat Hacking, Second Edition, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.