*Can you trust what a web page shows you? What if it shows something else to Google? *
CloakDetect is an automated content comparison tool that detects cloaking by accessing the same URL using different IPs, devices, or user agents — and then comparing the returned content.
🎯 What Is It?
Cloaking is a technique where a website shows different content to search engines and users to manipulate rankings.
CloakDetect simulates this by visiting the same site under different identities and flags any major differences in the content.
🧰 Technologies Used:
- Python + Playwright — Automated browser sessions with custom headers
- BeautifulSoup — HTML parsing and DOM diffing
- Flask — Web interface for easy access
- Chart.js — Visual analytics of content differences
- Session randomization & delay tricks — To bypass bot detection
🧠 What You’ll Learn:
How to detect cloaking techniques
Advanced web scraping and browser automation
DOM and content comparison logic
Anti-bot evasion strategies
🔧 Why I Built It:
Most scrapers or crawlers naively assume they see the “real” page.
But with geo-targeting, device-specific rendering, and bot filtering, content can be manipulated.
CloakDetect provides a repeatable and automated way to spot such manipulation — valuable for security researchers, SEO analysts, and ethical hackers alike.
📦 GitHub Repo:
🔗 github.com/akbak/CloakDetect
by Muhammet Ali AKBAK
Top comments (0)