# liamg/traitor

:arrow_up: :skull_and_crossbones: :fire: Automatic Linux privesc via exploitation of low-hanging fruit e.g. gtfobins, pwnkit, dirty pipe, +w docker.sock

Repository: https://github.com/liamg/traitor
Canonical: https://ross.abutalabs.com/products/traitor
Language: Go
License: MIT
License Family: permissive
Topics: gtfobins, exploit, privesc, privilege-escalation, hackthebox, infosec, redteam-tools, security-tools, cve-2021-3560, dirtypipe, cve-2022-0847
Last push: 2024-03-12T21:01:14+00:00

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

## Adoption (not part of the score)
Stars 7160, forks 700 (observed 2026-08-28T04:09:56.315723+00:00)

## What it is
Traitor is a Go-based CLI tool that automatically exploits common Linux misconfigurations and known vulnerabilities (GTFOBins, pwnkit, dirty pipe, writable docker.sock) to gain a root shell. It can scan for potential escalation vectors and attempt them individually or all at once.

## Use cases
- automatically escalate privileges to root on a linux box
- find local privilege escalation vulnerabilities on a machine
- exploit pwnkit or dirty pipe to get a root shell
- check if docker.sock is writable and abuse it for root
- ctf privilege escalation tool for hackthebox
- enumerate sudo misconfigurations via gtfobins

## When to choose
- you need quick automated privesc during a pentest or CTF
- you want a single binary that bundles many known linux escalation exploits
- you want to enumerate potential escalation vectors before exploiting

## When to avoid
- you need stealthy or custom exploitation rather than loud automated attempts
- you are on a non-Linux/unix-like target
- you need a comprehensive vulnerability scanner rather than a privesc tool
- the target requires avoiding known-CVE exploitation

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing
- domain: security, penetration-testing
- platform: cli, go
- tags: privesc, privilege-escalation, gtfobins, exploit, redteam, cve-exploits, root-shell, command-line, linux

## Member repositories
- liamg/traitor (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.315723+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-29T17:39:58.792063+00:00, confidence not recorded.
  - readme: https://github.com/liamg/traitor (fetched 2026-08-28T04:09:56.315723+00:00, sha 7aba9cdbd761)
- Data as of 2026-08-30T08:39:29.467469+00:00.
