Quick URL / link scanner (Bash).
Scans URLs/domains with local checks (DNS, SSL, WHOIS, etc.) and optional online reputation checks via Google Safe Browsing (v4) and VirusTotal (v3) APIs.
β
The script is safe to upload.
It only contains placeholder variables for API keys, no sensitive data or credentials.
Just make sure you never commit real API keys to the repository.
- Resolves domains and retrieves IPs (using
dig
orhost
). - Pulls SSL certificate information (
openssl
). - Performs WHOIS lookup to extract registrar, country, and creation/expiry dates.
- Checks URL status via
curl
. - Optionally:
- Queries Google Safe Browsing for phishing/malware detection.
- Queries VirusTotal for reputation and scanning results.
- OS: Linux or macOS (requires
bash
) - Tools:
curl
,jq
,whois
,dig
orhost
,openssl
,grep
,sed
,awk
- You need to get API's for the script to make it works:
GOOGLE_API_KEY
β for Google Safe Browsing APIVIRUSTOTAL_API_KEY
β for VirusTotal API
sudo apt update
sudo apt install -y curl jq dnsutils whois openssl