Go

Golang installation for Linux https://go.dev/dl/ Download: https://go.dev/dl/go1.18.linux-amd64.tar.gz

tar -xvf gol.13.5.linux-amd64.tar.gz -C /usr/local
chown -R root:root /usr/local/go
gedit ~/.profile
*export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin*. ~/.profile
echo $PATH

We can see that go-workspace and go/bin are here.

Finding Subdomains with AssetFinder

Sublist3r was ahead of time when it came up but now there are a lot of better alternatives. We are gonna use AssetFinder

Finding Subdomains with Amass

Finding Alive Domains with HTTProbe

Screenshotting Websites with GoWitness

Automating the Enumeration Process

https://github.com/rohitranaqh/Web-Enumeration-Script

Subdomain takeover

Let's say test.tesla.com domain expired and tesla didn't renewed it or they don't own it or something happened with the record. Then we can buy test.tesla.com and own that subdomain.

Tool: subjack