AltDns Generator.js Is An Application That Generates & Intelligently Resolves Dynamic DNS Wildcards".
AltDns Generator.js Consists Of 3 Main, And 2 Optional Process
- Subdomain Wildcard Locator.js(01):
Locates all possible wildcard points - AltDns Generator.js(02):
Generates potential DNS wildcards - Set Wordlist Gen Parameters(03):
OPTIONAL
Set parameters for generating wordlist From domain names. - DNS Resolver(04):
Dynamically Resolves all generated wildcards - Filter Params A From B(05):
OPTIONAL
Filter Params A From B And Return Unique Values In A or B & vice versa
- Pass In Valid Subdomains
- Subdomain Wildcard Locator.js Would Process All The Subdomains And Return Only UNIQUE Subdomains (no duplicates)
- Subdomain Wildcard Locator.js Would Then Process All The Unique Subdomains And Return All The POTENTIAL Wildcard Areas Within Those Subdomains
e.g *.exampledns.com
- AltDns Generator.js Takes In 2 Arguments
- DNS Wordlist
- Wildcard DNS Generated By Subdomain Wildcard Locator.js OR A Regular Domain
e.g *.exampledns.com OR dev.exampledns.com etc.
- AltDns Generator.js Treats Every Domain Independently Depending On Which Type Of Wildcard That Is Provided
- If The Supplied Subdomain Contains
*
As A Subdomain, Then AltDns Generator.js Would Only Focus And Generate AltDns At The*
Position Notwithstanding IfCreate All Possible AltDns Permutation
Is Checked - If The Supplied Subdomain DOES NOT Contains
*
As A Subdomain, AndCreate All Possible AltDns Permutation
Is NOT Checked, Then AltDns Generator.js Would Only Focus On Generating AltDns At The Beginning Position Of The Supplied Domain - ELSE If The Supplied Subdomain DOES NOT Contains
*
As A Subdomain, AndCreate All Possible AltDns Permutation
Is CHECKED, Then AltDns Generator.js Would Generate All Possible AltDns At At Every Position Of The Supplied Domain
e.g admin.dev.exampledns.com
& A Wordlist Ofgit
Would Output
admin.dev.exampledns.com
git.admin.dev.exampledns.com
admin.git.dev.exampledns.com
admin.dev.git.exampledns.com
- IF YOU ALREADY HAVE YOUR GENERATED DOMAINS & JUST WANT TO TEST IT'S VALIDITY WITHOUT NEEDING TO GENERATE NEW ALTDNS
- Input Your Domains Into The Domains Field
- Input
PASS
(in Caps) into the WordList Field.
OPTIONAL
- Setting Parameters For Generating Wordlist From Domain Names...
- Set Min Word length To Return. (default min length is 3)
- Set Max Word length To Return. (default max length is 15)
- Click On The Resolve DNS Button In The Menu Bar Of AltDns Generator.js An All Generated AltDns Would Be Sent To The Server For Processing
- Wait For DNS Resolver To Finish It's Job Then A Process Completion Message Would Appear On Your Screen & Result Would Be Populated As Resolved DNS OR Where It Fits Depending On The Outcome
OPTIONAL
- Filter Params A From B And Return The Unique Values In A
- Filter Params A From B And Return The Unique Values In B
- Filter Params A & B And Return The Unique Values In Both A & B
You Can Also Intelligently Resolve Domains In Bash Terminal (CMD) Using:
# Using .txt File Of Within 3000 Lines Of DNS (FAST)
# Note: A large file with lines over 3*** would return (xargs: argument line too long error)
cat inputDomains.txt | xargs -0 node resolveDns_bash.js | tee --append /locationTo/saveLiveDomains.txt
# Using .txt File Of Any Line Length Of DNS (SLOW)
# No Error With large file / Long Lines
cat inputDomains.txt | xargs -n 1 node resolveDns_bash.js | tee --append /locationTo/saveLiveDomains.txt
cat inputDomains.txt | xargs -n4 node resolveDns_bash.js | tee --append /locationTo/saveLiveDomains.txt
// Using An Exported Array, From A .JS File Of Any Line Length OF DNS (FAST)
// No Error With large file / Long Lines
// NOTE: The "array" Argument is a constant & must be present in the code
node resolveDns_bash.js "/location/Of/dnsFunc.js" "array" | >> /locationTo/saveLiveDomains.txt
// dnsFunc.js File Example...
function dnsFunc() {
let dns = [ "example.com", "www.example.com"];
return dns;
}
module.exports = dnsFunc();
"homepage": "https://sidodus.github.io/AltDnsGen/"
Use Online @ AltDnsGen.
Developed By Saheed Odulaja.