# SnaffCon/Snaffler

a tool for pentesters to help find delicious candy, by @l0ss and @Sh3r4 ( Twitter: @/mikeloss and @/sh3r4_hax )

Repository: https://github.com/SnaffCon/Snaffler
Canonical: https://ross.abutalabs.com/products/snaffler
Language: C#
License: GPL-3.0
License Family: copyleft
Last push: 2026-02-27T00:57:16+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 69, release rhythm 72, longevity 100
- inputs: {"age_days": 2347, "days_push": 188, "days_rel": 188, "gap_med": 18.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2915, forks 283 (observed 2026-08-28T04:07:29.392317+00:00)

## What it is
Snaffler is a C# command-line tool for pentesters and red teamers that enumerates Windows/AD environments to find sensitive files (mostly credentials) on readable network file shares. It discovers domain computers and shares, then scans files using regex-based rules to flag interesting content.

## Use cases
- find credentials in windows file shares during a pentest
- enumerate active directory shares for sensitive files
- red team internal recon for juicy files
- scan a network share directory for secrets
- hunt for passwords in a large AD environment

## When to choose
- you are a pentester or red teamer assessing a Windows/AD environment
- you need to quickly locate credential material on readable file shares
- you want a single portable exe that runs on a domain-joined machine

## When to avoid
- you need a compliance or audit tool - it is explicitly not designed for that
- you are not on a Windows/Active Directory environment
- you need ML-based file classification rather than regex rules

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, search-engine, cli
- domain: security, penetration-testing, windows
- platform: windows, cli, dotnet
- tags: red-team, pentesting, active-directory, file-share-enumeration, credential-hunting, csharp

## Member repositories
- SnaffCon/Snaffler (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.392317+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-30T07:34:06.346900+00:00, confidence not recorded.
  - readme: https://github.com/SnaffCon/Snaffler (fetched 2026-08-28T04:07:29.392317+00:00, sha 00174f1fdd81)
- Data as of 2026-08-30T08:39:29.467469+00:00.
