SNI Finder
This script will scan all domains with TLS 1.3
and h2
enabled on your VPS IP address range. These domains are useful for SNI domain names in various configurations and tests.
When you begin the scan, two files are created: results.txt
contains the output log, while domains.txt
only contains the domain names.
It is recommended to run this scanner locally (with your residential internet). It may cause VPS to be flagged if you run a scanner in the cloud.
Run
Linux:
-
wget "https://github.com/hawshemi/SNI-Finder/releases/latest/download/SNI-Finder-linux-amd64" -O SNI-Finder && chmod +x SNI-Finder
-
./SNI-Finder -addr ip
Windows:
- Download from Releases.
- Open
CMD
orPowershell
in the directory. -
.\SNI-Finder-windows-amd64.exe -addr ip
ip
with your VPS IP Address.
Replace Build
Prerequisites
wget
:
Install sudo apt install -y wget
Go
& other dependencies (Debian & Ubuntu):
First run this script to install wget "https://raw.githubusercontent.com/hawshemi/SNI-Finder/main/install-go.sh" -O install-go.sh && chmod +x install-go.sh && bash install-go.sh
- Reboot is recommended.
Then:
1. Clone the repository
git clone https://github.com/hawshemi/SNI-Finder.git
2. Navigate into the repository directory
cd SNI-Finder
logrus
package
3. Download and install go get github.com/sirupsen/logrus
4. Build
CGO_ENABLED=0 go build