Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 2.17 KB

README.md

File metadata and controls

84 lines (55 loc) · 2.17 KB

Logo

A fast async domain discovery tool written in Rust

license Python OS Build PyPi

Table of Contents

About The Project

This library is intended to be used to discover registered domains according to the given TLD list by performing a fast and accurate resolving process. It was written in Rust in order to meet the performance requirements.

Built With

Installation

pip3 install pydomdisco

Usage

import pydomdisco


# Get a list of tlds to their corresponding nameservers IP addressed

# Only root tlds
root = pydomdisco.Discoverer.get_root_tld_to_nameservers_ips()

# Full list of the PSL tlds
psl = pydomdisco.Discoverer.get_psl_tld_to_nameservers_ips()

# Initialize the discovery engine loaded with the given tlds
discoverer = pydomdisco.Discoverer(root | psl)

# Perform the discovery process and return the list of discovered registered domains
registered_domains = discoverer.discover(
    [
        'google',
        'microsoft',
        'tesla',
    ],
)

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Gal Ben David - [email protected]

Project Link: https://github.com/intsights/pydomdisco