nil0x42/duplicut
FreeRemove duplicates from MASSIVE wordlist, without sorting it (for dictionary-based password cracking)
About nil0x42/duplicut
Duplicut is an open-source command-line tool written in C that removes duplicate lines from massive wordlists while preserving the original order. Designed specifically for dictionary-based password cracking, it solves the problem of deduplicating files larger than available RAM without resorting to sorting (which reorders lines). The tool splits the wordlist into virtual chunks, uses a memory-optimized 64-bit compressed hashmap, and supports multithreading for performance. Additional features include filtering by line length, filtering non-printable characters, case conversion (lowercase/uppercase), saving duplicates to a separate file, and a progress bar with ETA.
Key Features
Pros & Cons
- Preserves original wordlist order (unlike sort -u)
- Handles wordlists larger than available RAM via virtual chunking
- Multithreaded for fast deduplication
- Memory efficient with compressed hashmap on 64-bit
- Open source with GPL-3.0 license
- Simple command-line interface with useful options
- Written in C for minimal overhead
- Maximum line length limited to 4095 characters
- Command-line only, no graphical interface
- Primarily targeted at password cracking domain, not general-purpose deduplication
- Requires compilation from source (C compiler needed)