A powerful collection of tools for password analysis and wordlist optimization. For educational purposes only.
- โก High-speed combination generation
- ๐ Real-time progress tracking with colored output
- ๐พ Efficient memory management
- ๐ Case modifiers:
-AB: Convert to uppercase (test -> TEST)-Ab: Capitalize first letter (test -> Test)-ba: Reverse text (test -> tset)-Ba: Reverse and capitalize (test -> Tset)-BA: Reverse and uppercase (test -> TSET)
- ๐ข Length control:
-m: Minimum length-M: Maximum length
- ๐ฏ Word boundaries:
-ws: Add prefix to words-we: Add suffix to words
- ๐ Leet speak conversion (
-L337) - ๐๏ธ Optional gzip-compressed output (
-z) - โ๏ธ JSON config files (
-c) - ๐งฎ Memory controls:
--limit,--max-memory,--no-dedup,--disk-dedup - ๐ Resumable runs (
--resume) - ๐จ Colorful interactive UI
- ๐ซ Duplicate prevention
- ๐ UTF-8 encoding support
- ๐ฏ Multiple filtering options
- ๐ฌ Wordlist analysis mode (
--analyze) - โ๏ธ Non-interactive config mode (
--config) - ๐๏ธ Transparent gzip input/output (
.gz) - ๐ Real-time statistics
- โธ๏ธ Checkpoint system
- ๐ช Multi-processing support
- ๐ง Smart filter recommendations
- ๐ Detailed progress tracking
- ๐ Colorful interactive UI
- ๐ Multi-language support (English/Turkish)
- ๐ก Smart filter suggestions based on wordlist size
- ๐ Session saving and loading
- ๐ Advanced statistics and reporting
- โก Performance optimizations
# Clone the repository
git clone https://github.com/retgere5/BruteForceHelper.git
# Navigate to directory
cd BruteForceHelper
# Install required packages
pip install -r requirements.txt# Install development dependencies (adds pytest)
pip install -r requirements-dev.txt
# Run the test suite
pytestWordlistOptimizer's interactive
q/cstop/checkpoint keys usemsvcrtand are Windows-only; the rest of the tool (including filtering and multi-processing) runs on Linux and macOS as well.
Performance: both tools are pure-Python and CPU-bound. WordlistOptimizer filters in parallel across CPU cores; PassGenerator generates a few million combinations per second per core (use
--no-dedupor--max-memory/--disk-dedupfor very large runs). For a further multiplier, run either tool under PyPy (e.g.pypy3 PassGenerator.py ...) โ no code changes needed.
Generate all possible password combinations with advanced features.
python PassGenerator.py -w [words/chars] [options]-w, --words: Words or characters to generate combinations from (required)-o, --output: Output file name (default: combinations.txt)-m, --min-length: Minimum combination length (default: 1)-M, --max-length: Maximum combination length-AB: Convert to uppercase-Ab: Capitalize first letter-ba: Reverse text-Ba: Reverse and capitalize-BA: Reverse and uppercase-L337: Convert to leet speak-ws, --word-start: Add prefix to words-we, --word-end: Add suffix to words-z, --gzip: Write gzip-compressed output (.gz)-c, --config: Load options from a JSON config file (CLI arguments override it)--limit: Stop after generating this many unique combinations--max-memory: Stop when the in-memory dedup set exceeds this many MB--no-dedup: Skip deduplication (constant memory; output may contain repeats)--resume: Checkpoint the run so it can be resumed if interrupted--disk-dedup: Deduplicate on disk via SQLite (bounded memory, slower)
# Basic usage with case modifiers
python PassGenerator.py -w test -AB -Ab
# Output: test, TEST, Test
# With length control
python PassGenerator.py -w a b c -m 2 -M 4
# Output: aa, aaa, aaaa, ab, aba, ...
# With word boundaries
python PassGenerator.py -w test -ws admin_ -we _2023
# Output: admin_test_2023
# Complex combinations
python PassGenerator.py -w test user -m 4 -M 8 -AB -L337
# Output: test, TEST, T3ST, user, USER, U53R, testuser, ...
# Multiple features
python PassGenerator.py -w retgere 5 Prophet -m 6 -M 12 -AB -ba -Ab -Ba
# Output: retgere, RETGERE, eregter, Retgere, retgere5, Prophet, ...
# Cap the number of unique combinations
python PassGenerator.py -w a b c --limit 1000
# Cap the memory used by the dedup set (stops generation when reached)
python PassGenerator.py -w a b c d e f --max-memory 512
# Stream without deduplication (constant memory, may repeat lines)
python PassGenerator.py -w a b c --no-dedup
# Resumable run: if interrupted (Ctrl+C), re-run the same command to continue
python PassGenerator.py -w a b c d --resume -o big.txt
# Deduplicate on disk for sets too large for RAM (bounded memory, slower)
python PassGenerator.py -w a b c d e --disk-dedup
# Compressed output (.gz)
python PassGenerator.py -w test -AB -z -o wordlist.txt
# Writes wordlist.txt.gz
# From a JSON config file (CLI args still override individual values)
python PassGenerator.py -c config.jsonExample config.json for PassGenerator:
{
"words": ["test", "admin"],
"min_length": 4,
"max_length": 12,
"AB": true,
"L337": true,
"output": "wordlist.txt",
"gzip": true
}
--resumewrites a small<output>.pgckptcheckpoint. On resume it validates that the parameters match and rebuilds the dedup set from the existing output, so deduped runs resume exactly; with--no-dedupa few lines may repeat around the interruption point.
Clean and optimize your wordlists with advanced filtering options.
# Interactive
python WordlistFixer.py
# Non-interactive, from a JSON config
python WordlistFixer.py --config config.json --lang en
# Analyze a wordlist (length distribution, character composition)
python WordlistFixer.py --analyze rockyou.txt --lang enExample config.json for WordlistOptimizer (missing filter keys default to off; input is required):
{
"input": "rockyou.txt",
"output": "cleaned.txt.gz",
"min_length_filter": true,
"repetitive_chars": true,
"keep_stats": true
}- ๐ Select your language (English/Turkish)
- ๐ Select input/output files (use a
.gzname for gzip-compressed input or output) - โ๏ธ Choose filtering options:
- Length filters
- Pattern filters
- Character type filters
- Common word filters
- ๐ฏ Configure optimization settings
- ๐ View real-time statistics and filter effectiveness
-
Basic Security
- Minimum length filter
- Repetitive character filter
- Pattern repetition filter
-
Character Based
- Numbers only filter
- Letters only filter
- Single character type filter
-
Pattern Based
- Sequential characters filter
- Keyboard pattern filter
- Special pattern filter
-
Format Based
- Year pattern filter
- Date pattern filter
- Phone number filter
-
Word Based
- Common words filter
- Leet speak filter
Click to expand usage examples
# Generate all combinations of numbers 0-9
python PassGenerator.py -w 0 1 2 3 4 5 6 7 8 9 -m 4
# Generate combinations of special characters
python PassGenerator.py -w "@" "#" "$" "%" -o special_chars.txt- Remove common patterns
- Filter by length
- Remove sequential characters
- Eliminate keyboard patterns
- Remove single character types
- Language-specific filtering
- Smart recommendations based on wordlist size
- Real-time filter effectiveness tracking
This tool is for educational purposes only. Users are responsible for ensuring they have permission to test any systems they use this tool against. The creators are not responsible for any misuse or damage caused by this program.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by retgere5