A tool used to grab domains from certificate transparency logs (crt.sh).
Unlike other tools that often make a single request to crt.sh, this tool is designed to handle the inherent slowness and unreliability of crt.sh, especially when dealing with large responses. It includes retry logic to detect and recover from failed requests. It offers a simple API that can also be used to run tasks asynchronously.
Requires Go 1.20 or later.
go install github.com/root4loot/cmd/crtsher@latest
git clone https://github.com/root4loot/crtsher
cd crtsher
docker run --rm -it $(docker build -q .) example.com
Usage: crtsher [options] <domain | orgname>
-f, --file <file> Specify input file containing targets, one per line.
-t, --timeout <seconds> Set the timeout for each request (default: 90).
-c, --concurrency <number> Set the number of concurrent requests (default: 3).
--debug Enable debug mode.
--version Display the version information.
--help Display this help message.
Search Query Identity:
- Domain Name
- Organization Name
Examples:
crtsher example.com
crtsher "Hackerone Inc"
crtsher --file domains.txt
$ crtsher example.com
[crtsher] (INF) Querying example.com
[crtsher] (RES) www.example.org
[crtsher] (RES) hosted.jivesoftware.com
[crtsher] (RES) uat3.hosted.jivesoftware.com
[crtsher] (RES) www.example.com
[crtsher] (RES) example.com
See the examples
folder for usage examples.
See CONTRIBUTING.md