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: 4 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 3 years ago)
- Default Branch: main
- Last Pushed: 2025-09-09T19:29:52.000Z (9 months ago)
- Last Synced: 2025-09-09T23:19:39.597Z (9 months ago)
- Topics: domain-enumeration, enum, enumeration, go, golang, recon, subdomain, transparency
- Language: Go
- Homepage:
- Size: 4.75 MB
- Stars: 4
- 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). Supports both direct database access and HTTP API with automatic fallback.
## 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. It uses direct PostgreSQL database access for faster queries with automatic fallback to HTTP API when needed.
## 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 Name
Examples:
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)