Skip to content
프로젝트

소개

MASSIVE 워드리스트에서 중복 항목을 정렬하지 않고 제거합니다(사전 기반 비밀번호 크래킹용).

보안 및 개인정보 보호

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Duplicut :scissors:

Quickly dedupe massive wordlists, without changing the order tweet


github tests codacy code quality github codeql codecov coverage

Mentioned in awesome-pentest Rawsec tool inventory Follow on X

Created by nil0x42 and contributors


Order and memory tradeoffs of sort and awk

:book: Overview

Duplicut removes duplicate lines from massive wordlists without changing their order. Keep the first occurrence of each word, even when the file exceeds RAM.

When combining password wordlists, the most likely candidates should stay first. Sorting changes that priority; keeping every unique word in memory can exhaust RAM. Duplicut is written in optimized C and automatically chooses between chunk-based scans and disk partitions to fit the available resources.


Duplicut terminal demonstration

:bulb: Quick start

git clone https://github.com/nil0x42/duplicut  # download
cd duplicut && make                         # compile
./duplicut wordlist.txt > clean-wordlist.txt # dedupe

Prefer a ready-to-run binary? Download the matching Linux or macOS binary from the latest release. Linux and macOS builds are available for x64 and ARM64. Build and installation details.

:wrench: Options

Run ./duplicut --help for command-line help. Input comes from a named file or, when omitted, from stdin. Results go to stdout unless -o is given; progress and diagnostics go to stderr.

Use Option Behavior
Output -o, --outfile FILE Write to a file instead of stdout.
-D, --dupfile FILE Save removed duplicate occurrences; adds I/O.
Resources -m, --memlimit VALUE Working-memory budget, e.g. 100M or 2G; defaults to available memory.
-t, --threads NUM Maximum worker threads; defaults to online CPUs.
Filtering -l, --line-max-size NUM Maximum line length in bytes; default 1024, maximum 4095.
-p, --printable Keep only printable ASCII lines.
Case -c, --lowercase Convert to lowercase before deduplication.
-C, --uppercase Convert to uppercase before deduplication.
Engine -e, --engine ENGINE auto (default), mmap-chunks or disk-partitions.
Information -h, --help Show help.
-v, --version Show version and license information.

:bulb: Common uses

# Combine lists while preserving their priority
cat preferred.txt extra.txt | ./duplicut > combined.txt

# Normalize case and keep printable ASCII
./duplicut -cp wordlist.txt > clean-wordlist.txt

# Set a working-memory budget and save duplicate occurrences
./duplicut -m 100M -D duplicates.txt wordlist.txt -o unique.txt

# Append the result of this run to an existing file
./duplicut wordlist.txt >> combined.txt

Append mode deduplicates the new input, not the existing destination contents. See the usage guide for line handling and output behavior, and memory and disk use for what the memory budget covers.

:zap: Observed performance

On a laptop with 16 GB RAM and an NVMe SSD:

Workload Observed time
Real wordlist: about 285 million lines, 2.58 GiB ~36 seconds
Generated wordlist: 20 GiB, larger than RAM ~2 min 20 seconds

These are measured workloads, not a throughput guarantee. Workloads, options and measurement details.

:book: Documentation

Documentation index · How it works · Troubleshooting · Development

관련 프로젝트 살펴보기

불러오는 중…