-
Notifications
You must be signed in to change notification settings - Fork 0
Parallelize rule generation and add unified wordlist with concurrent.futures for 2-8x performance improvement #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ures Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
…e calculation, clarify README Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
…ER constant, unify batch calculations Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
…improve documentation Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
…improve comments Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
|
@copilot wasn't there a unified wordlist function that took the real bases, analyzed bases, trie bases along with usernames.txt and created a single depulicated wordlist file |
…dlists and usernames Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
Yes! I've added the unified wordlist function. It combines Implemented in commit 9417884. |
Co-authored-by: awillard1 <5957650+awillard1@users.noreply.github.com>
|
@copilot why did it lose the ability to create a unified list for 00_analyzed_bases.txt, 00_real_bases.txt, 00_spell_checked_bases.txt, 00_trie_bases.txt |
Implements parallel processing for CPU-intensive rule generation operations using Python's
concurrent.futuresmodule to significantly improve performance on multi-core systems. Also adds a unified wordlist feature that combines all base wordlists into a single deduplicated file.Changes
Parallel Operations
Unified Wordlist Feature
00_real_bases.txt,00_analyzed_bases.txt,00_trie_bases.txt) andusernames.txt00_unified_wordlist.txt- a deduplicated and sorted wordlistConfiguration
--max-workers: CLI control over parallelism (default: min(8, CPU count))LISTMINER_MAX_WORKERS: environment variable overrideBATCH_MULTIPLIER,MIN_PASSWORD_BATCH_SIZE,MIN_WORD_BATCH_SIZEThread Safety
parallel_log()for synchronized output_add_scored_rules()Code Quality
_calculate_batch_size(),_calculate_batch_size_for_workers()Batch 1/4 complete: 1,234 analyzed, 56 skippedExample Usage
Performance
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.