Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.48 KB

File metadata and controls

69 lines (48 loc) · 1.48 KB

crtsh.py

A Python utility to fetch (or scrape) subdomains from crt.sh


Requirements

  • argparse
  • aiohttp
  • asyncio
  • colorama
  • validators

Install with:

pip install -r requirements.txt

Installation

git clone https://github.com/YashGoti/crtsh.py.git
cd crtsh.py
python3 crtsh.py -h

If you want to use crtsh from anywhere:

git clone https://github.com/YashGoti/crtsh.py.git
cd crtsh.py
mv crtsh.py crtsh
chmod +x crtsh
sudo cp crtsh /usr/local/bin/

Options

Flag Description
-h, --help Show this help message and exit
-d, --domain Specify target domain(s) (comma-separated)
-f, --file File containing domains to scan
-n, --no-wildcard Remove wildcard subdomains from the results
-o, --output Save subdomains to a file

Usage

python3 crtsh.py -d example.com
python3 crtsh.py -d example.com -n
python3 crtsh.py -d example.com,github.com
python3 crtsh.py -f domains.txt -n -o subs.txt

Made by AIwolfie

Buy Me A Coffee