-
Download Go:
wget -c https://go.dev/dl/go1.22.5.linux-amd64.tar.gz
-
Remove any existing Go installation:
sudo rm -rf /usr/local/go
-
Extract Go to /usr/local:
sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
-
Set up Go environment:
echo 'export GOROOT=/usr/local/go' >> ~/.bashrc echo 'export GOPATH=$HOME/go' >> ~/.bashrc echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH' >> ~/.bashrc source ~/.bashrc
-
Verify installation:
go version
Run these commands:
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
- Make the script executable:
chmod +x betmenrecon.sh
-
Execute the script:
./betmenrecon.sh
-
Enter the target domain when prompted.
-
Confirm the domain.
-
Wait for the scan to complete.
- Check the terminal for a summary of findings.
- Detailed results are in the
recon_results_[domain]
directory.
- If tools aren't found, run:
source ~/.bashrc
- For errors, ensure all tools are installed correctly.
- Adjust thread counts in the script if performance issues occur.
Ensure you have permission to scan the target domain and comply with all applicable laws and regulations.