Black Dox - Educational Cybersecurity Project
Description
This project is an educational tool designed to demonstrate how websites can collect user
information and send it to a Discord webhook in real time. The goal is to raise awareness about
online tracking, data privacy, and the importance of cybersecurity best practices.
Features
The system gathers and sends the following user data to a configured Discord webhook:
- IP Address: Used for geolocation (approximates user location).
- Geolocation: Latitude and longitude (if user grants permission).
- Device Information: OS, browser type, and screen resolution.
- Hardware Specs: CPU cores and available RAM.
- Network Latency: Measures delay between user and server.
- Battery Status: Current battery percentage and charging state.
- Microphone & Camera Access: Detects if they are enabled.
- Cookies & Tab Focus: Checks if cookies are enabled and if the user is actively viewing the page.
- Mouse Movements & Scroll Activity: Tracks basic user interaction.
Educational Purpose & Legal Notice
This project is intended only for ethical cybersecurity education. It should be used to:
- Educate users about online tracking methods.
- Help website owners understand the importance of privacy policies.
- Teach cybersecurity students how user data is collected and transmitted.
⚠ Disclaimer: Unauthorized use of this code for malicious purposes (e.g., tracking users without
consent) is illegal and violates privacy laws such as GDPR, CCPA, and others. Always obtain explicit user
consent before tracking data.