Skip to content

preemptdev/sdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdb

Release Software License GitHub issues

Periodically query for subdommains

sdb, Subdomain Database, is a Python applciation to query various APIs for DNS entries. It has the ability to be backgrounded and can query on any interval. The aim of this particular project is to be able to afk a bit of recon. There are several other techniques and queries to add, but as of now, this is fine for me.

Thanks to michaelranaldo for contributing!

Installing

pip3 install -r requirements

Help Page

usage: sdb.py [-h] [-d] [-n] [-i] [-s] [-q] [--single]

Monitor subdomains for changes.

optional arguments:
  -h, --help        show this help message and exit
  -d , --domain     Domain to monitor
  -n , --name       Name of the database file
  -i , --interval   Seconds between runs. 3 hrs = 10800
  -s, --silent      Turn console output off
  -q, --query       Extract all subdomains
  --single          Run sdb once

Usage

Run every 3 hours

sdb.py --domain groups.yahoo.com --name subdomains.db --interval 10800

Run once

sdb.py --domain groups.yahoo.com --name subdomains.db --single

Pull results

sdb.py --domain groups.yahoo.com --name subdomains.db --query