0 purchases
pydomdisco 0.4.4
A fast async domain discovery tool written in Rust
Table of Contents
Table of Contents
About The Project
Built With
Installation
Usage
License
Contact
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
pyo3
tokio
trust-dns
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.