Skip to content

scripts/dns-brute: Adds wildcard detection for A and AAAA records.#950

Closed
aars wants to merge 1 commit into
nmap:masterfrom
aars:script-dns-brute-detect-wildcards
Closed

scripts/dns-brute: Adds wildcard detection for A and AAAA records.#950
aars wants to merge 1 commit into
nmap:masterfrom
aars:script-dns-brute-detect-wildcards

Conversation

@aars

@aars aars commented Jul 25, 2017

Copy link
Copy Markdown

Hi!

The dns-brute script will happily list all configured hosts if a domain uses a wildcard record.

This PR adds detection for A and AAAA wildcards, and disables the type of record it thinks is a wildcard. I've added script arg dns-brute.force to override this.

All and any feedback is welcome. If I can improve this somehow (some built-in random string generation maybe? (I found stdnse.generate_random_string)) please let me know!

Cheers

@aars

aars commented Jul 25, 2017

Copy link
Copy Markdown
Author

PS: I was unable to find any tests for this (or other scripts). If I missed those, please point me in the right direction.

@aars
aars force-pushed the script-dns-brute-detect-wildcards branch from de2df18 to 4764fcb Compare July 25, 2017 13:40
@dmiller-nmap

dmiller-nmap commented Jul 27, 2017 via email

Copy link
Copy Markdown

@nmap-bot nmap-bot closed this in 1139e8b Jul 27, 2017
@aars

aars commented Jul 27, 2017

Copy link
Copy Markdown
Author

Ah! Good call on checking against the wildcard address. That's very useful! Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants