Duplicut is a modern password wordlist creation usually implies concatenating multiple data sources.
Ideally, most probable passwords should stand at start of the wordlist, so most common passwords are cracked instantly.
With existing dedupe tools you are forced to choose if you prefer to preserve the order OR handle massive wordlists.
Unfortunately, wordlist creation requires both:
So i wrote duplicut in highly optimized C to address this very specific need
Quick start
git clone https://github.com/nil0x42/duplicut
cd duplicut/ && make
./duplicut wordlist.txt -o clean-wordlist.txt
Options
Features
-l option)-p option)Implementation
Limitations
Technical Details
1- Memory optimized
An uint64 is enough to index lines in hashmap, by packing size info within pointer’s extra bits:
2- Massive file handling
If whole file can’t fit in memory, it is split into virtual chunks, then each one is tested against next chunks.
So complexity is equal to th triangle number:
Throubleshotting
If you find a bug, or something doesn’t work as expected, please compile duplicut in debug mode and post an issue with attached output:
Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…