Skip to content
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

Created dns-any-query.nse script #1697

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NSEcho
Copy link

@NSEcho NSEcho commented Aug 17, 2019

Created script get-any-query.nse for dns ANY type requests. It sends request and based on number of requests it tells whether it could be vulnerable or not. All requirements from nmap script ideas about prerule,hostrule and portrule are implemented as well as support for newtargets

Sample output:

PORT   STATE SERVICE REASON
53/udp open  domain  udp-response ttl 55
| dns-any-query:
|   Result: Server is likely responding to ANY query
|   Authoritative: TRUE
|   Found:
|     		MX
|     		SOA
|     		TXT
|     		TXT
|_    		TXT

@NSEcho NSEcho changed the title Created get-any-query.nse script Created dns-any-query.nse script Aug 18, 2019
@NSEcho
Copy link
Author

NSEcho commented Aug 24, 2019

@cldrn hello, do you have any suggestions or comments about the script.

Copy link

@b4ldr b4ldr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its been a while since i did any NSE scripting so take my comments with a pinch of salt

scripts/dns-any-query.nse Show resolved Hide resolved
scripts/dns-any-query.nse Show resolved Hide resolved
scripts/dns-any-query.nse Outdated Show resolved Hide resolved
scripts/dns-any-query.nse Show resolved Hide resolved
@NSEcho
Copy link
Author

NSEcho commented Sep 10, 2019

@b4ldr would you mind taking another look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants