sniper checks whether a domain can complete a TLS handshake from your network.
You give it a domain like google.com, and it tries a real TCP connection plus TLS handshake for that domain.
It tells you if the domain looks allowed or blocked.
This is useful when your network is restricted and you want a quick answer like:
- does this domain complete TLS from here?
- which domains still work?
- does this domain work on this specific IP?
Download the binary for your system from GitHub Releases:
Pick the file for your platform:
- Linux
- Windows
- macOS
Extract the archive, then run sniper.
Check one domain:
sniper google.comCheck many domains from a file:
sniper -f domains.txtExample domains.txt:
google.com
hcaptcha.com
letsencrypt.org
Show blocked domains too:
sniper -f domains.txt -verboseExample:
google.com 142.250.185.46 210ms allowed
This means:
google.comis the domain you tested142.250.185.46is the IP that worked210msis how long it tookallowedmeans the TCP connection and TLS handshake worked
If it says blocked, the TCP connection or TLS handshake did not work.
Check one domain with a shorter timeout:
sniper google.com -timeout 1sSave results to a file:
sniper -f domains.txt -output results.txtCheck a domain on one specific IP:
sniper google.com -target 1.1.1.1Check a list of domains on one specific IP:
sniper -f domains.txt -target 1.1.1.1Check a list of domains on many IPs from a file:
sniper -f domains.txt -target-file ips.txtUse a different HTTPS port:
sniper google.com -port 8443-
sniper google.comCheck one domain directly -
-f domains.txtCheck many domains from a file -
-verboseAlso print blocked domains -
-timeout 1sChange how long sniper waits before giving up -
-output results.txtSave result lines to a file -
-target 1.1.1.1Skip DNS and try that IP for every domain -
-target-file ips.txtSkip DNS and try IPs from a file -
-ipv6Also include IPv6 in DNS lookup -
-port 443Change the port -
-qHide the start and end log lines
- You can use either
sniper google.comorsniper -f domains.txt - Do not use both at the same time
- By default, DNS lookup uses IPv4 only
- If you want IPv6 too, use
-ipv6 - If a domain has more than one matching IP,
snipertries all of them alloweddoes not mean the whole website will work, it only means the TCP connection and TLS handshake worked- this tool does not send a full HTTP request after the handshake
- result lines can be saved with
-output
Run:
sniper -h