Menu

Usage

Nathan Voss

How to use it:

  1. First, either build it yourself using gcc, MinGW, Visual Studio, or whatever other favorite Windows compiler you prefer, or download the attached executable and run it on the command line. The source code is in the attachments, or can be viewed here. Building with debugging symbols can help you out later, but it isn't really necessary.
    Example build command: gcc heap_sandbox.c -g -o heap_sandbox.exe
  2. Next, run the heap_sandbox.exe executable.
  3. Follow the prompts to allocate, write to, and free chunks as desired.

So now you're up and running. Next, you'll want to hook up with a debugger and actually see what's going on in the heap. Keep in mind that user input is not validated, and it is really easy to crash the program. It's an exploit test tool, don't expect stability!