Skip to content

A lightweight OSINT tool built with Flask to analyze URLs for missing security headers, reputation checks via Shodan and VirusTotal, and exportable reports in CSV/JSON format.

License

Notifications You must be signed in to change notification settings

Adomancer/URLscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 OSINT URL Scanner

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.

Badge Badge


🚀 Features

  • ✅ 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

🗂️ Project Structure

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

⚙️ Installing & Running

  1. Clone this repo:
git clone https://github.com/Adomancer/URLscanner.git
  1. Create and populate .env:
SHODAN_API_KEY=your_shodan_api_key
VT_API_KEY=your_virustotal_api_key
SECRET_KEY=your_flask_secret_key
  1. Install dependencies:
pip install -r requirements.txt
  1. Run Flask:
python webapp.py

🧪 Example URL for Testing


📦 Export

  • Export scan results to file:
  • outputs/report.json
  • outputs/report.csv

🔒 Notes Security

  • 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

📜 License

MIT License — free to use for educational purposes.


📅 Last Updated

2025-06-26

About

A lightweight OSINT tool built with Flask to analyze URLs for missing security headers, reputation checks via Shodan and VirusTotal, and exportable reports in CSV/JSON format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published