Find subdomains of a domain in active or passive manner.
The domains to be scanned should be in a file named ./domains.txt
.
To scan the domains:
$ python main.py --method active|passive
Found <subdomains> for <domain>
To run the API:
python api.py
The API will run on port 5000. See swagger.yml for usage.
Create a python environment and install the required packages:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Postgresql database is required.
- Search for subdomains in active mode with multithreading using
threading
orconcurrent
module. - Add endpoint to get subdomains and whois info for a domain from the db.