Allow dnsbrute to accept a list of wordlists#3094
Open
SpamFaux wants to merge 1 commit into
Open
Conversation
The wordlist option now accepts either a single URL/path (existing behavior) or a list, enabling users to supplement the default wordlist with custom entries without replacing it. Multiple files are fetched and merged into a single deduplicated set before brute-forcing begins.
| async def new_run_live(*command, check=False, text=True, **kwargs): | ||
| if "massdns" in command[:2]: | ||
| _input = [l async for l in kwargs["input"]] | ||
| if "asdf.blacklanternsecurity.com" in _input: |
Contributor
📊 Performance Benchmark Report
📈 Detailed Results (All Benchmarks)
🎯 Performance Summary+ 2 improvements 🚀
! 3 regressions ⚠️
19 unchanged ✅🔍 Significant Changes (>10%)
🐍 Python Version 3.11.15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wordlistoption ondnsbrutenow accepts either a single URL/path (existing behavior) or a list of URLs/pathsMotivation
Users with custom subdomain wordlists previously had to choose between the default SecLists wordlist and their own. There was no way to supplement the default without replacing it entirely. With this change, a preset can specify both:
Test plan
TestDnsbruteandTestDnsbruteCanaryChecktests pass (no regression)TestDnsbruteMultiWordlisttest verifies merged wordlist size, correct deduplication of overlapping entries, and end-to-end discovery of a subdomain sourced from the second wordlist