The Subdomain Scanner is a subdomain discovery tool. It allows you to run a scan for a top-level domain name to discover target organization subdomains configured in its hierarchy.
# Install Git
sudo apt install git
# Install Go
sudo apt install golang
# Git Clone
git clone https://github.com/R3DHULK/subdomain-scanner-in-golang
# Change Directory
cd subdomain-scanner-in-golang
# Open This go file and modified domain name as showed in the first picture
# In My Case I Used example.com for testing purposes
# Run This Tool To Scan Subdomains On Target Networks
go run subdomain-scan.go