getsubdomain

Get subdomain list and check whether they are active or not by each response code. Using API by c99.nl

Installation

▶ go install github.com/abaykan/[email protected]

Put your API_KEY in ~/.config/c99.txt:

▶ echo "<YOUR_API_KEY>" > ~/.config/c99.txt

Usage

  • Single Domain

▶ echo "kustirama.id" | getsubdomain

or

▶ echo "kustirama.id" | getsubdomain clean
  • From List

▶ cat domainlist.txt | getsubdomain

or

▶ cat domainlist.txt | getsubdomain clean

Example Output

  • Single Domain

  • From Domain List

Disclaimer

For my own learning purpose. These codes are messy af. Feel free to contribute so I know how to code properly.

GitHub

View Github