Skip to content

A python module to find domains and subdomains of a given domain with a easy to use CLI.

License

Notifications You must be signed in to change notification settings

oversuman/DomFu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DomFu logo


A python module to find domains and subdomains of a given domain with a easy to use CLI.

Installation

Using pip:

$ sudo apt-get update -y
$ sudo pip install DomFu

Manual Installation:

$ git clone https://github.com/TxSadhu/DomFu.git
$ cd DomFu
$ sudo python setup.py install

Post-Installation

Initiate the DB:

$ domfu api

Update

Using pip:

$ sudo apt-get update -y
$ sudo pip install DomFu==1.4.1 --upgrade

Manual Installation:

$ git clone https://github.com/TxSadhu/DomFu.git
$ cd DomFu
$ sudo python setup.py install

Usage

Using as Standalone CLI app:

domfu --help

Using it as a python module: (Check the wiki for more)

import DomFu as df

dom = "tropyl.com"

# Using all sources:
df.subdomain(dom)

# Using individual sources to find subdomain:
df.fetchCrtSh(dom)
df.fetchBufferOverRun(dom)
df.fetchHackerTarget(dom)
df.fetchThreatCrowd(dom)
df.fetchVirusTotal(dom)

# Check if a list of domain is vaild:
dom_lst = ['tropyl.com', 'www.tropyl.com', 'fake.tropyl.com']
df.Probe(dom _lst)

Features:

  • Fetches subdomain of a domain in the fastest possible time.
  • Built-in domain prober, useful when you want to validate your subdomains.
  • Can be used inside any python code by importing the module.

Contributing

See the .todo file and get started with any of the upcoming changes you want to make.

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update everything as appropriate.

Note: Do not ever make a direct pull request to the master branch. Switch to the dev branch to look for active development going on the tool.