Block Malicious URLs is a professional GUI-based cybersecurity tool built with Python & Tkinter.
It detects unsafe websites in real-time using VirusTotal API, Google Safe Browsing API, and heuristic analysis.
The tool allows administrators to block/unblock malicious domains in the system hosts file and optionally send email alerts for threats. 🔒🌐
- 🛡️ Cybersecurity & Threat Prevention
- 🌐 URL / Domain Safety Analysis
- 🏠 Hosts File Management
- 🖥️ GUI Development with Tkinter
- 🔗 API Integration: VirusTotal & Google Safe Browsing
- 📄 Batch URL Scanning
- 📊 CSV Logging & Reporting
- 📧 Email Alerts (SMTP)
- 🧵 Python Threading for Responsive UI
- ✅ Check single URL or domain for malicious activity
- ✅ Batch scan URLs from
.txtor.csvfiles - ✅ Block / unblock domains in system hosts file
- ✅ Admin password protection 🔑
- ✅ Progress bar and treeview display 📊
- ✅ Logs actions in
block_log.csv🗂️ - ✅ Optional email alerts for blocked domains 📧
- ✅ Maintains a list of blocked sites in GUI
- 🐍 Python 3.x
- 🖼️ Tkinter (GUI)
- 🌐 Requests library (API calls)
- 📧 SMTP (Email notifications)
- 📄 CSV for logs
- 🧵 Threading (for responsive GUI)
- Clone the repository:
git clone https://github.com/Dheetchana04/Block-Malicious-URLs.git
- Navigate into the project folder:
cd Block-Malicious-URLs- Install dependencies:
pip install requests- Run the application:
python malicious_url_blocker.py-
Enter a URL → Check if it’s safe or malicious 🌐
-
Block/unblock a domain using admin password 🔑
-
Upload CSV/TXT with URLs → Batch scan → Auto-block malicious ones 📄🚫
-
View blocked sites and logs in the GUI 📊
Dheetchana K