Masdika Loading..
Masdika.ID

DevOps Engineer

Cloud Engineer

System Administrator

  • Home
  • Portfolio
  • Services
  • Resume
  • Skills
  • Blog
  • Contact
Masdika.ID

DevOps Engineer

Cloud Engineer

System Administrator

Download CV

Recent Posts

  • Dari Laptop Bekas Jadi Server Pribadi: Cara Membangun Home Server Murah Menggunakan ISP MyRepublic dengan Public IP
  • Pembuatan Subnet dan Alokasi IP Address pada Amazon Web Service VPC
  • Instalasi dan Konfigurasi AWS CLI pada EC2 (Lab Guide)
  • Membangun Arsitektur Web + Database Highly Available di AWS (RDS Multi-AZ)
  • Cara Reset Password OpenBSD di Proxmox via VNC

Recent Comments

  1. Alif on Jangan Gunakan latest Tag pada Docker Images! Ini Alasannya
  2. Sahrull on Panduan Lengkap Anti-DDoS: Installasi Iptables, Hardening, dan Cloudflare Proxy
  3. VSTRA on Cara Cerdas Menguasai Kubernetes (K8s): Panduan Lengkap Orkestrasi Kontainer untuk Developer Modern
  4. Rikiy on Cara Mudah Deploy Website Node.js Menggunakan Docker
  5. Masdika.BIZ.ID on Disaster Recovery Cluster (DRC) WordPress dengan MariaDB Galera dan Load Balancer Caddy

Categories

  • Tutorial

Masdika.ID

  • About
  • Terms & Conditions
  • Privacy Policy

IP Scanner with Content Detection & Geo Location

  • Created By: Masdika.ID
  • Date: 08/05/2025
  • Project: IP Content Scanner
  • Categories: Programing
See Demo
IP Content Scanner

IP-based Website Scanner for Sensitive Content Detection and Automatic Classification

Project Description:
IP Content Scanner is a Python-based tool designed to scan a list of IP addresses and identify the type of content hosted—such as gambling 🎲, pornographic 🔞, or general ✅. This tool assists network administrators, security researchers, and service providers in auditing suspicious or unclassified IPs, with clean, color-coded output and optional Telegram notifications.

✨ Key Features

  • 🎲 Gambling Site Detection: Identifies gambling-related websites using keyword matching.

  • 🔞 Pornographic Site Detection: Flags adult sites based on accessible content.

  • ✅ General Category: Marks safe content if no sensitive keywords are detected.

  • 🌍 Geolocation Info: Displays city, region, and country of each IP.

  • 💥 HTTP/HTTPS Access Check: Tests socket connection and web accessibility.

  • 📊 Color-coded Output: Organized, readable output in the terminal.

  • 📩 Telegram Notification: Sends result summaries via Telegram (optional).

  • ⚙️ Quick Installation: Includes a setup script for dependencies.

⚙️ How to Use

1️⃣ Install Dependencies

chmod +x install_dependencies.sh  
./install_dependencies.sh  

2️⃣ Run the Scanner

python3 scan_situs.py ip_list.txt

💡 Make sure ip_list.txt contains the target IPs, one per line.

📲 Telegram Notification (Optional)

Enable by setting the following variables in the script:

TELEGRAM_TOKEN = "YOUR_BOT_TOKEN"
TELEGRAM_CHAT_ID = "YOUR_CHAT_ID"

🧠 Technologies Used

  • Python: requests, BeautifulSoup (bs4), socket, tqdm, colorama

  • API: ipinfo.io for IP location lookup

  • Technique: Regex for keyword detection, basic HTML parsing

🛡️ Notes

  • No data is saved to any file or database.

  • Scans are based solely on publicly accessible website content.

  • Encrypted or dynamic content (SPA/JS-heavy) is not supported.

🚀 Project Status

🟢 Stable – Ready for use in network supervision, content audit, or public infrastructure monitoring.
👨‍💻 This project is open-source and can be further developed as needed.

Tags: python
Share:

Prev
Next
© 2025 www.masdika.id — Semua hak cipta dilindungi