




Username and email OSINT in Rust. One binary, three upstream databases, canary-verified hits, profile extraction, pivoting, deleted-account detection, and Rosé Pine from the animated startup banner to every report.
Named after the knight of the Grail quest — Percival follows the trail to the account behind a handle.
#191724 base |
#c4a7e7 iris |
#9ccfd8 foam |
#ebbcba rose |
#f6c177 gold |
#eb6f92 love |
#31748f pine |
---
## Why another one
Sherlock, Maigret, Blackbird and WhatsMyName each have a site database and a checker. Percival eats all of their databases and adds the parts they are missing:
| | Sherlock | Maigret | Blackbird | **Percival** |
|---|---|---|---|---|
| Sites (merged, deduplicated) | ~480 | ~5,400 (mostly disabled) | ~700 | **5,700+** from all three |
| Reads other tools' databases | – | Sherlock | – | **WhatsMyName, Sherlock, Maigret, own** |
| False-positive guard at scan time | – | – | – | **canary account re-check on every hit** |
| WAF / captcha / rate-limit detection | partial | yes | – | yes, strong + weak signals |
| Profile metadata extraction | – | yes | yes (AI) | yes, JSON + HTML + JSON-LD, no API keys |
| Pivot on discovered handles | – | yes | – | yes, `--recursive`, depth-limited |
| Deleted-account detection (Wayback) | – | – | – | **`--archive-all`** |
| Username permutations | `{?}` | `--permute` | `--permute` | `--permute` / `--permute-all` |
| Email search | – | – | yes | Gravatar, GitHub, HIBP, derived handles |
| Filter language | – | tags | `--filter` | boolean expressions with regex |
| Site self-check + auto-disable | – | yes | – | yes, `selfcheck --write` |
| Reports | txt, csv, xlsx | html, pdf, csv, json, xmind | csv, pdf, json | **html, json, ndjson, csv, md, txt, dot** |
| Per-host rate limiting, retries, redirect chains | – | partial | – | yes |
| Language | Python | Python | Python | Rust, single static binary |
## Install
```sh
cargo install --path . # from this directory
# or
cargo build --release && cp target/release/percival ~/.local/bin/
```
Requires Rust 1.85+. The three site databases are embedded, so the binary works offline; `percival update` pulls fresh copies.
## Use
```sh
percival johndoe # scan ~1,500 ranked sites, show hits
percival johndoe -a # show every result
percival johndoe -c social,coding -o # categories + write html/json/csv reports
percival johndoe --recursive --archive # pivot on handles found in bios, check Wayback
percival johndoe --all-sites -j 120 # the whole 5,700-site database, faster
percival john.doe --permute --top 300 # johndoe, john_doe, jdoe… on the 300 biggest sites
percival email john.doe@example.com # gravatar, github, derived handles (+ HIBP with a key)
percival -i handles.txt --json > out.ndjson # batch, machine-readable
percival johndoe --tor # everything via socks5h://127.0.0.1:9050
```
Result lines:
```
✔ GitHub (User) https://github.com/torvalds [coding] 265ms
↳ Linus Torvalds · 📍 Portland, OR · 323k followers · joined 2011-09-03
⚠ Some Forum https://… suspicious: canary also matched
⛔ Reddit forbidden (HTTP 403)
```
`✔` is a verified hit. `⚠` means the site also claimed a random 14-character canary username exists, so its detector is lying; the hit is kept in reports flagged `verified: false`. `⛔` is a WAF, captcha, login wall or rate limit.
Exit codes: `0` hits, `1` no hits, `2` usage or config error, `3` nothing answered (network down).
### Subcommands
| command | what it does |
|---|---|
| `percival