resurrecting-open-source-projects / dnsmap Goto Github PK
View Code? Open in Web Editor NEWScan for subdomains using bruteforcing techniques
License: GNU General Public License v3.0
Scan for subdomains using bruteforcing techniques
License: GNU General Public License v3.0
dnsmap doesn't work with any .network domain names. It just gives an error saying that "entered domain is not valid!" despite the fact that the domain name is valid.
This issue is due to the code in dnsmap.c limiting TLD names to between 2 and 6 characters. This is not long enough these days because there are so many more TLDomain names of various lengths.
You can run this command in Ubuntu (bash shell) to see a list of some of the longest TLD names:
curl -s https://data.iana.org/TLD/tlds-alpha-by-domain.txt | tail -n+2 | awk '{ print length(), $0 | "sort -n" }'
From this TLD name list, we see that there are domains as long as 24 characters (longest English domain name is 18 characters.) I think 13 characters is long enough... there are few TLD names that are longer than 13 characters. Thus I have made a PR updating dnsmap.c to a 13 character TLD limit as well as updating the ChangeLog and man pages to reflect this patch (dnsmap version 0.36.)
This patch is helpful to me because I use dnsmap in Termux (Android) but I'm unable to test any domains longer than 6 characters. Hopefully this patch is added to the master here so it will fix this issue for others as well. I have followed the UPDATE-CHECK list with my PR. I tested it on Ubuntu 20.04 (64 bit) server and on my Android (ARMv7 32 bit) phone. It works well on both. The change is very minor, so I doubt it broke any functionality. I have some ideas for improving dnsmap using Mozilla's PublicSuffix list for TLDs and some other things... but that kind of large change would probably break things. For now just a minor bugfix patch PR.
There are some references to Debian Project and 'apt-get install dnsmap' in README.md and CONTRIBUTING.md. However, the dnsmap is not in Debian...
...not yet, but it will arrive to Debian soon! It is confirmed.
I have remote DNS resolver, which hosts some domain zone "example.com".
I want scan al subdomains of "example.com", by sending dns queries directly to custom resolver "ns1.example.com", not to my system resolver.
What I want:
Example:
dnsmap example.com --resolver ns1.example.com
I have authoritative DNS-server, which hosts only AAAA type records, not A.
dnsmap scans only A type records.
I want option, like "--type", which helps to scan AAAA records too.
Examples:
dnsmap example.com ; # select only A query type (by default)
dnsmap example.com --type A ; # select only A query type
dnsmap example.com -4 ; # select only A query type
dnsmap example.com --type AAAA ; # select only AAAA query type
dnsmap example.com -6 ; # select only AAAA query type
dnsmap example.com --type A,AAAA ; # select A and AAAA query types
dnsmap example.com -4 -6 ; # select A and AAAA query types
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.