A Python utility to fetch (or scrape) subdomains from crt.sh
argparseaiohttpasynciocoloramavalidators
Install with:
pip install -r requirements.txtgit clone https://github.com/YashGoti/crtsh.py.git
cd crtsh.py
python3 crtsh.py -hgit clone https://github.com/YashGoti/crtsh.py.git
cd crtsh.py
mv crtsh.py crtsh
chmod +x crtsh
sudo cp crtsh /usr/local/bin/| 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 |
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.txtMade by AIwolfie
