https://github.com/root4loot/crtsher
Obtain domains from certificate transparency logs
https://github.com/root4loot/crtsher
domain-enumeration enum enumeration go golang recon subdomain transparency
Last synced: 3 months ago
JSON representation
Obtain domains from certificate transparency logs
- Host: GitHub
- URL: https://github.com/root4loot/crtsher
- Owner: root4loot
- License: mit
- Created: 2023-04-24T13:57:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T15:22:37.000Z (4 months ago)
- Last Synced: 2025-03-24T15:52:15.060Z (3 months ago)
- Topics: domain-enumeration, enum, enumeration, go, golang, recon, subdomain, transparency
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
  [](CONTRIBUTING.md)
# crtsher
A tool used to grab domains from certificate transparency logs (crt.sh).
## Why another crt.sh tool?
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.
## Installation
Requires Go 1.20 or later.
```bash
go install github.com/root4loot/cmd/crtsher@latest
```## Docker
```bash
git clone https://github.com/root4loot/crtsher
cd crtsher
docker run --rm -it $(docker build -q .) example.com
```## Usage
```bash
Usage: crtsher [options]
-f, --file Specify input file containing targets, one per line.
-t, --timeout Set the timeout for each request (default: 90).
-c, --concurrency 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 NameExamples:
crtsher example.com
crtsher "Hackerone Inc"
crtsher --file domains.txt
```## Example Running
```bash
$ 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
```## As a Library
See the `examples` folder for usage examples.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)