Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
how2heap — A repository for learning various heap exploitation techniques. | Kitploit
Tools/GitHubGitHub/shellphish/how2heap
ExploitationCTFLearning & EducationCurated ResourcesBinary ExploitationLabs & PracticeTop in Binary Exploitation #4Top in CTF #7
GitHubshellphish/how2heap

how2heap

8.8k1.3k67Nov 16, 2026Reviewed by Kitploit

A repository for learning various heap exploitation techniques.

View Repository
Share

Educational Heap Exploitation

This repo is for learning various heap exploitation techniques. We use Ubuntu's Libc releases as the gold-standard. Each technique is verified to work on corresponding Ubuntu releases. You can run apt source libc6 to download the source code of the Libc you are using on a Debian-based operating system. You can also click ▶️ to debug the technique in your browser using gdb.

We came up with the idea during a hack meeting, and have implemented the following techniques:

File▶️TechniqueGlibc-VersionPatchApplicable CTF Challenges
first_fit.cDemonstrating glibc malloc's first-fit behavior.
calc_tcache_idx.cDemonstrating glibc's tcache index calculation.
fastbin_dup.c▶️Tricking malloc into returning an already-allocated heap pointer by abusing the fastbin freelist.< 2.43patch
fastbin_dup_into_stack.c▶️Tricking malloc into returning a nearly-arbitrary pointer by abusing the fastbin freelist.< 2.43patch9447-search-engine, 0ctf 2017-babyheap
fastbin_dup_consolidate.c▶️Tricking malloc into returning an already-allocated heap pointer by putting a pointer on both fastbin freelist and the top chunk.< 2.43patchHitcon 2016 SleepyHolder
unsafe_unlink.c▶️Exploiting free on a corrupted chunk to get arbitrary write.latestHITCON CTF 2014-stkof, Insomni'hack 2017-Wheel of Robots
house_of_spirit.c▶️Frees a fake fastbin chunk to get malloc to return a nearly-arbitrary pointer.latesthack.lu CTF 2014-OREO
poison_null_byte.c▶️Exploiting a single null byte overflow.latestPlaidCTF 2015-plaiddb, BalsnCTF 2019-PlainNote
house_of_lore.c▶️Tricking malloc into returning a nearly-arbitrary pointer by abusing the smallbin freelist.latest
overlapping_chunks.c▶️Exploit the overwrite of a freed chunk size in the unsorted bin in order to make a new allocation overlap with an existing chunk< 2.29patchhack.lu CTF 2015-bookstore, Nuit du Hack 2016-night-deamonic-heap
overlapping_chunks_2.c▶️Exploit the overwrite of an in use chunk size in order to make a new allocation overlap with an existing chunk< 2.29patch
mmap_overlapping_chunks.cExploit an in use mmap chunk in order to make a new allocation overlap with a current mmap chunklatest
house_of_force.c▶️Exploiting the Top Chunk (Wilderness) header in order to get malloc to return a nearly-arbitrary pointer< 2.29patchBoston Key Party 2016-cookbook, BCTF 2016-bcloud
unsorted_bin_into_stack.c▶️Exploiting the overwrite of a freed chunk on unsorted bin freelist to return a nearly-arbitrary pointer.< 2.29patch
Download Tool

Related Tools

  • metasploit-framework

    Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

  • sqlmap

    Automatic SQL injection and database takeover tool

  • beef

    The Browser Exploitation Framework Project

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    789
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    453
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    394
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    354
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    332

Explore all tools

Browse our collection of tools

View all tools →