Watching in Real Time

To see the FTP server crash in real time and also track what's happening on the stack, you will need a debugger. I'm partial to OllyDbg (http://www.ollydbg.de/), but Immunity, Inc. recently released Immunity Debugger (http://www.immunitysec.com/products-immdbg.shtml/), which I'm told is also good. Choose a debugger and install it on the computer hosting the FTP server.

Watching the program crash isn't complicated; the first step is to restart the FTP Server. Then fire up OllyDbg. When OllyDbg has opened, select File ► Attach. A list of running processes will pop up in a new window. The list will contain all of the processes currently running on the system hosting the FTP server (that is, the victim system). Scroll down the ...

Get Wicked Cool Ruby Scripts 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.