Giter VIP home page Giter VIP logo

altdns's Introduction

Altdns - Updated Version - Subdomain discovery through alterations and permutations

Altdns is a DNS recon tool that allows for the discovery of subdomains that conform to patterns. Altdns takes in words that could be present in subdomains under a domain (such as test, dev, staging) as well as takes in a list of subdomains that you know of.

From these two lists that are provided as input to altdns, the tool then generates a massive output of "altered" or "mutated" potential subdomains that could be present. It allows the output to be piped to your favorite DNS bruteforcing tool without consuming a large amount of memory.

Altdns works best with large datasets. Having an initial dataset of 200 or more subdomains should churn out some valid subdomains via the alterations generated.

Further information on attack methodology and this tool release can be found here: https://docs.google.com/presentation/d/1PCnjzCeklOeGMoWiE2IUzlRGOBxNp8K5hLQuvBNzrFY/

Changes 3/1/2023:

  • You can now pipe to any subdomain resolving applications like massdns, puredns or shuffledns.
  • it no longer stores all the combindation in memory, and directly outputs to the pipe or flatfile.
  • you can limit the amount of data that feeds to your DNS resolver by passing a G or M value to it.

Installation

Python 3: pip3 install -r requirements.txt

Usage

# python3 altdns -i subdomains.txt -w words.txt -t 100 -l 1G | puredns resolve

  • -i subdomains.txt` contains the known subdomains for an organization
  • -w words.txt is your list of words that you'd like to permute your current subdomains with (i.e. admin, staging, dev, qa) - one word per line
  • -t how many threads the resolver will use simultaneously
  • -l 1G How many bytes to output

Screenshots

Show some love

If this tool was useful at all to you during DNS recon stages - we'd love to know. Any suggestions or ideas for this tool are welcome - just tweet @infosec_au or @nnwakelam and we'll work on it.

altdns's People

Contributors

infosec-au avatar fransr avatar avlidienbrunn avatar xxtherockxx avatar liamosaur avatar tomdev avatar 0x71rex avatar ls4cfk avatar dbaxa avatar hazcod avatar harleo avatar 0x90n avatar stefanocoding avatar brandousov avatar shelld3v avatar urbanadventurer avatar

Stargazers

Jaikishan Tulswani avatar

Forkers

excloudx6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.