gocrt is a command line client for crt.sh written in golang.
$ gocrt -o github-demo < domains.txt
Get subdomains from: test.de
Get subdomains from: example.com
Save subdomains from: test.de -> saved
Save subdomains from: example.com -> saved
[✓] Done
$ ls -ls github-demo
drwxr-xr-x 2 qwertty qwertty 4096 16. Okt 14:29 .
drwxr-xr-x 5 qewrtty qwertty 4096 16. Okt 14:29 ..
-rw-r--r-- 1 qewrtty qwertty 133 16. Okt 14:29 example.com
-rw-r--r-- 1 qwertty qwertty 473 16. Okt 14:29 test.de
gocrt has no runtime dependencies. You can just download a binary for Linux, Mac, Windows or FreeBSD and run it.
Put the binary in your $PATH (e.g. in /usr/local/bin) to make it easy to use:
$ tar xzf gocrt-linux-amd64-0.0.1.tgz
$ sudo mv gocrt /usr/local/bin/If you've got Go installed and configured you can install gocrt with:
$ go install github.com/qw3rtty/gocrt@latestGet domain from command line:
$ gocrt example.comGet domain from stdin:
$ cat domains.txt | gocrt
# OR
$ gocrt < domains.txt Pipe found subdomains to other tools:
$ gocrt -s < domains.txt | httprobe
# OR
$ gocrt -s < domains.txt | tee combined.txt | httprobe
# OR
$ cat domains.txt | gocrt -s | httprobe
# OR
$ gocrt --stdout example.com | httprobeStore subdomains to custom directory:
$ cat domains.txt | gocrt -o my-custom-dir 
# OR
$ gocrt --output my-custom-dir < domains.txt$ gocrt --help
gocrt is a command line client for crt.sh written in golang.
Usage:
  gocrt [OPTIONS] [FILE|URL|-]
Options:
  -h, --help       Print help/usage informations
  -o, --output     Custom output directory for all found subdomains of given domains, DEFAULT: 'subdomains'
  -c, --combine    Additionally combine output for all found subdomains of given domains in one file
  -s, --stdout     Print only subdomains to STDOUT so they can be piped directly to other tools, they will not be saved into files
      --version    Print version information
Examples:
  cat domains.txt | gocrt -o domains-crt
  gocrt -o domains-crt example.com 
  gocrt < domains.txt
  gocrt -s < domains.txt | tee combined.txt | httprobe
  gocrt example.com