Masdika Loading..
Masdika.BIZ.ID

DevOps Engineer

Cloud Engineer

System Administrator

  • Home
  • Portofolio
  • Services
  • Resume
  • Skills
  • Blog
  • Contact
Masdika.BIZ.ID

DevOps Engineer

Cloud Engineer

System Administrator

Download CV

Recent Posts

  • Cara Deploy WordPress di Kubernetes Lengkap dengan SSL Let’s Encrypt
  • Panduan Lengkap Install MetalLB di Kubernetes (VPS/Bare Metal) dengan IP Publik
  • Panduan Lengkap Deploy Ingress NGINX dan Cert-Manager Kubernetes dengan HTTPS Otomatis (Let’s Encrypt)
  • Cara Install Kubernetes dengan Ansible di 2 Server (Master dan Worker)
  • Monitoring Docker Container dengan CAdvisor, Node Exporter, Prometheus, dan Grafana

Recent Comments

  1. Masdika.BIZ.ID on Cara Install Kubernetes dengan Ansible di 2 Server (Master dan Worker)
  2. wwqqs on Cara Install Kubernetes dengan Ansible di 2 Server (Master dan Worker)
  3. Rio Ardiansyah on Panduan Lengkap Redis Docker untuk WordPress
  4. Masdika.BIZ.ID on Cara Monitoring Status Disk RAID di Server Dell Menggunakan Bash Script dan PercCLI
  5. fafiki on Cara Monitoring Status Disk RAID di Server Dell Menggunakan Bash Script dan PercCLI

Archives

  • July 2025
  • June 2025

Categories

  • Tutorial

Masddika.BIZ.ID

  • About
  • Terms & Conditions
  • Privacy Policy

IP Scanner with Content Detection & Geo Location

  • Created By: Masdika.BIZ.ID
  • Date: 08/05/2025
  • Project: IP Content Scanner
  • Categories: Programing
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
© 2025 www.masdika.biz.id — Semua Hak Dilindungi