OSINT URL Scanner is a Python + Flask based application for analyzing a list of URLs for security purposes. This tool is designed for cybersecurity investigation and research activities for educational purpose only.
- ✅ Input URLs one by one via web interface
- ✅ Check HTTP headers and detect missing security headers:
X-Frame-Options
Content-Security-Policy
Referrer-Policy
- ✅ Check suspicious redirects
- ✅ IP lookup via Shodan API
- ✅ Domain reputation with VirusTotal API
- ✅ Export results to
.csv
and.json
- ✅ URL input validation and sanitization
- ✅ Safe fallback when Shodan/VirusTotal errors
url-scanner/
├── scanner/
│ ├── core.py
│ ├── utils.py
│ ├── shodan.py
│ └── virustotal.py
├── templates/
│ └── index.html
├── outputs/ # (Optional) Export results
├── .gitignore
├── requirements.txt
├── webapp.py
└── README.md
- Clone this repo:
git clone https://github.com/Adomancer/URLscanner.git
- Create and populate
.env
:
SHODAN_API_KEY=your_shodan_api_key
VT_API_KEY=your_virustotal_api_key
SECRET_KEY=your_flask_secret_key
- Install dependencies:
pip install -r requirements.txt
- Run Flask:
python webapp.py
- Export scan results to file:
outputs/report.json
outputs/report.csv
- All inputs are validated using
validators
- API Key is stored securely in
.env
file - Fallback friendly if API error (Shodan/VirusTotal)
- Use only for educational purposes & legal research
MIT License — free to use for educational purposes.
2025-06-26