sinsinology / vheap

Extendable Visualization & Exploitation tool for glibc heap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vHeap

Extendable Visualization & Exploitation tool for glibc heap.

vHeap is a python/js project aimed at visualizing the glibc heap memory at runtime during your debugging sessions to make your life easier ✨.

The heap memory is one of those things that are much easier to work with and learn when visualized. Most security researchers/ctf players end up sketching the heap memory to exploit it.

Showcase

vHeapGif vHeapPng

Support & installation

This vHeap version is built to work with pwndbg on GDB.

Clone and install pwndbg then

git clone https://github.com/wes4m/vheap.git
cd vheap
./setup.sh PWNDBG_PATH

Usage

To start serving; from within your GDB session vHeap shows you everything in the webbrowser.

vhserv localhost 1337

vhstop to stop the server.

To update the heap state.

vhstate

A cool trick instead of updating manually is to define a GDB hook-stop to update with each step.

define hook-stop
`vhstate
end

Extending

vHeap can be easily modified to work with other debuggers and any other form of input methods. It is also built while keeping in mind extendability and adding custom functionalities; More atEXTENDING DOCS.

Current status

vHeap to do tasks:

  • Selecting different arenas.
  • Better overlap detection.
  • Making docs.
  • ?? ..

Contributions are appreciated 💛.

About

Extendable Visualization & Exploitation tool for glibc heap

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 67.1%Language:JavaScript 26.4%Language:HTML 3.2%Language:C 2.5%Language:Shell 0.8%