Skip to content

This script filters a wordlist by word length, presence of digits, and symbols, and removes duplicates.

Notifications You must be signed in to change notification settings

hiitaro/Wordlist-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Wordlist Filter

This script filters a wordlist by word length, presence of digits, and symbols, and removes duplicates.

Usage

./wordlist_filter.sh wordlist.txt [min_length] [max_length] [--no-digits] [--no-symbols]
  • wordlist.txt — input wordlist file (required)
  • min_length — minimum word length (default: 1)
  • max_length — maximum word length (default: 100)
  • --no-digits — exclude words containing digits
  • --no-symbols — exclude words containing symbols (keep only letters and digits)

Examples

Keep only words with length from 6 to 12:

./wordlist_filter.sh rockyou.txt 6 12

Keep only words without digits:

./wordlist_filter.sh rockyou.txt --no-digits

Keep only words without digits and symbols:

./wordlist_filter.sh rockyou.txt --no-digits --no-symbols

Output

The result is saved to
filtered_<your_input_file>.txt
in the same directory as the script.

Requirements

  • Bash environment (Linux, macOS, WSL, or Git Bash for Windows)
  • Utilities: awk, grep, sort, uniq

Notes

  • The script will not work in standard PowerShell or cmd.exe.
  • For Windows, use WSL or Git Bash to run the script.

About

This script filters a wordlist by word length, presence of digits, and symbols, and removes duplicates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages