Skip to main content

A free subdomain enumeration library using DNS queries, Common Crawl data, and optional Digital Yama API

Project description

simple-subdomain-finder

Simple Subdomain Finder is a subdomain enumeration library written in Python. Use it to get a list of subdomains that exist for a specified domain.

Simple Subdomain Finder does not break any website terms of service and is suitable for running at scale. Simple Subdomain Finder uses DNS queries, Common Crawl data, and the Digital Yama API (optional) to find and enumerate subdomains.

Usage

Installation

pip install simple-subdomain-finder

Basic

from simple_subdomain_finder import get_subdomains

results = get_subdomains("basspro.com")
print(results.subdomains)

Full

from simple_subdomain_finder import get_subdomains

results = get_subdomains("basspro.com", digitalyama_api_key="YOURAPIKEY")
print(results.subdomains)

Not A Scraper

Because Subdomain Finder doesn't attempt to scrape data from websites (eg. Google), Subdomain Finder can be used to enumerate subdomains for large batches of domains. To avoid exceeding the rate limits enforced by Common Crawl, it's recommended that you do not use async or threading to speed up requests.

Digital Yama API

You can optionally provide an API key from digitalyama.com to expand results using the Digital Yama Subdomain Finder API. Using the API will result in significantly more subdomains being found, including more hidden/non-obvious subdomains.

Subdomains List

This package includes a list of subdomains to scan for DNS records. The included list is a modified version of the n0kovo_subdomains list. You can use a different list by modifying the file subdomains_list.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_subdomain_finder-0.2.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_subdomain_finder-0.2.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file simple_subdomain_finder-0.2.0.tar.gz.

File metadata

  • Download URL: simple_subdomain_finder-0.2.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for simple_subdomain_finder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ccf9dff9ba2366503f8b493096811a47775a4154cf94412973e48937a4394745
MD5 e74620d976a237af29d65811ae28dfff
BLAKE2b-256 19bb521820711dd99d304ce2d4d786147340a4ab4db63e491db29edbbd794f0d

See more details on using hashes here.

File details

Details for the file simple_subdomain_finder-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_subdomain_finder-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d17cce36ba62ad9ab317883c9d5038fd6cff34c2343f44aae5c5657e950949d9
MD5 e9da0da0175a97e0af99d7aacd0b2054
BLAKE2b-256 daf2680817fb9be76b16422c7b50eb3373e415877b60a3091c7daa0c791e609b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page