# niklasb/libc-database

Build a database of libc offsets to simplify exploitation

Repository: https://github.com/niklasb/libc-database
Canonical: https://ross.abutalabs.com/products/libc-database
Homepage: https://libc.rip/
Language: Shell
License: MIT
License Family: permissive
Topics: pwn, libc, offsets, ctf, ctf-tools
Last push: 2026-08-09T20:16:51+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4188, "days_push": 24, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1869, forks 199 (observed 2026-08-28T04:05:46.680839+00:00)

## What it is
A shell-based tool that builds a searchable database of libc symbol offsets from Ubuntu, Debian, and other distributions to simplify binary exploitation. It lets users identify libcs by hash or partial symbol addresses and dump useful offsets like system and /bin/sh.

## Use cases
- find libc version from leaked symbol addresses
- get offsets of system and /bin/sh for ret2libc exploit
- identify a libc binary by build id or hash
- build a local database of libc offsets for CTF pwn challenges
- download a specific libc package for exploitation

## When to choose
- you are doing CTF pwn challenges and need libc gadget offsets
- you have partial address leaks and need to fingerprint the remote libc
- you want a local, scriptable libc offset database

## When to avoid
- you need a general-purpose binary analysis or reverse engineering framework
- you are not doing binary exploitation work

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, database, security, developer-tools
- domain: security, penetration-testing, developer-tools
- platform: cli, self-hosted
- tags: ctf, pwn, binary-exploitation, libc-offsets, ret2libc, shell, command-line, linux

## Member repositories
- niklasb/libc-database (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.680839+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:13.054766+00:00, confidence not recorded.
  - readme: https://github.com/niklasb/libc-database (fetched 2026-08-28T04:05:46.680839+00:00, sha 3051aed1e186)
  - homepage: https://libc.rip/ (fetched 2026-08-29T10:54:10.591049+00:00, sha f7832c23d21c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
