Skip to content

Den1al/pymassdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMassDNS - Python Wrapper for MassDNS

About

I often use this tool called MassDNS which is a high-performance DNS stub resolver. I decided to create this python wrapper to ease the process and for the programmatic challenge.

Author

Daniel Abeles.

Install

First, follow the installation guide of MassDNS. Then, get it from PyPI:

pip install pymassdns

Or, build it from source:

git clone https://github.com/Den1al/pymassdns
cd pymassdns
python setup.py build
python setup.py install

Usage

from massdns import MassDNS

# get the massdns root directory

m = MassDNS('/root/recon/massdns/')

results = m.scan('example.com', cert_sh=True)

for result in results:
    print(result)

"""
>>> <Subdomain domain="1001juegos.example.com.", type="A", ip="142.54.173.92"> ...
"""

Features

Since the original massdns tool support many features, I did my best to fit the most and even more. Currently PyMassDNS supports:

  • Crt.sh subdomain grabber
  • Worlist based subdomain brute forcer

TODO

  • Add the rest of the flags of massdns

Credits

MassDNS

About

A Pythonic wrapper to MassDNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages