Utilities
Strip wordlist duplicates without sorting away probability
Deduplicate a wordlist without sorting so probability order stays intact.
commit f80390d on Trickest · C++ · GPL-3.0 license
Free plan: 1 user, 3 execution slots, no card.
overview
What duplicut does
Before ffuf or a cracker, run duplicut on the merged wordlist so downstream nodes do not burn requests or hashes on repeats.
Reach for it when you concatenated SecLists or custom lists and need duplicates gone without a sort that wrecks guess order.
Input is a FILE wordlist; outputs are FILE and FOLDER. Set --threads and --memlimit when the list is multi-gigabyte.
source github.com/nil0x42/duplicut · commit f80390d on Trickest
image quay.io/trickest/duplicut:f80390d
use cases
duplicut use cases
Clean a merged wordlist before fuzzing
Concatenate several lists into one, then run duplicut to strip the overlap while keeping probability order, so ffuf or gobuster never spends a request on a repeated guess.
Deduplicate multi-gigabyte lists under a memory cap
Set --threads and --memlimit so a huge wordlist dedupes fast on a worker without swapping or getting killed for exceeding RAM.
Normalize case and strip junk in one pass
Fold entries with --lowercase or --uppercase and drop non-printable lines with --printable during the dedup, producing a tidy list without reaching for a second tool.
Prep password lists for cracking
Dedupe a rockyou-plus-custom merge before feeding hashcat or john, cutting cracking time by removing candidates the tool would otherwise try twice.
reference
duplicut inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| input | FILE | · | Wordlist file to deduplicate. |
| threads | STRING | --threads | Max threads to use (default max). |
| memory-limit | STRING | --memlimit | Cap peak memory so large lists do not exhaust RAM (default max). |
| maximum-line-size | STRING | --line-max-size | Max line size (default 64). Lines longer than this are dropped. |
| lowercase | BOOLEAN | --lowercase | Convert every entry to lowercase during the dedup. |
| uppercase | BOOLEAN | --uppercase | Convert every entry to uppercase during the dedup. |
| printable | BOOLEAN | --printable | Keep only ASCII-printable lines, dropping the rest. |
Showing key inputs. duplicut exposes 7 inputs in total.
example
duplicut command examples
# concatenate lists, then dedupe without reordering
cat rockyou.txt custom-paths.txt > merged.txt
duplicut merged.txt -o clean.txt --threads 8 --memlimit 2G123456
password
123456789
qwerty
abc123
password1
iloveyou
admin
letmein
… (3,221,225 duplicate lines removed; probability order preserved)guidance
duplicut vs alternatives
Use duplicut to dedupe a wordlist while keeping probability order, right before fuzzing or brute forcing. To filter domains by level instead, use dsieve. To append only new lines to a growing file, use anew.
faq
duplicut FAQ
related
More Utilities tools
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
Run duplicut yourself
A raw wordlist feeds duplicut, which strips duplicates while keeping probability order and passes the clean list to ffuf so discovered paths land as output.
Facts on this page come from the live Trickest tool library.