Leave a ⭐ if you like this Repository
AnyGrab is a Python utility that continuously monitors AnyDesk connections on your system and displays remote IP addresses and ports in a beautiful gradient CLI interface. It includes a persistent blacklist to avoid duplicate entries and supports console transparency for a sleek look.
Caution
This tool is intended for educational and personal monitoring purposes only. Do not use it for unauthorized access, exploitation, or malicious activity. The author and contributors are not responsible for any misuse of this code.
- 👀 Monitor AnyDesk Connections — Detect running AnyDesk processes and log their active connections.
- 🧠 Persistent Blacklist — Avoid duplicate IP addresses by storing them in a persistent blacklist.
- 🌈 Gradient CLI Interface — Uses
rgbprintfor beautiful color gradients and scrolling messages. - 🖥️ Console Transparency — Adjustable transparency for a modern and aesthetic CLI.
- ⚡ Real-time Monitoring — Continuously checks AnyDesk connections and prints updates in real-time.
- Run the tool (
python main.py). - The program monitors AnyDesk processes on your system.
- When AnyDesk is detected, it grabs active remote connections and displays:
- Remote IP
- Port
- The program ignores local-link addresses (
169.254.x.x) and common ports like 80 and 443. - Duplicate IPs are blacklisted automatically to avoid repeated notifications.
- The CLI displays messages in color gradients and scroll animations for a premium visual experience.
-
🐍 Python 3.9+
-
📦 Dependencies:
pip install rgbprint psutil colorama
-
🖥️ Windows operating system (for console transparency and netstat)
├─ assets/ ➔ Screenshots of the Program in action
│ └─ preview.png ➔ A screenshot of the Program running
├─ main.py ➔ Main program logic and CLI
├─ LICENSE ➔ License file
└─ README.md ➔ Read me file
- Uses
psutilto detect running AnyDesk processes. - Uses
subprocesswithnetstatto capture TCP connections. - Filters out LISTENING ports and local-link addresses.
- Console transparency is implemented via
ctypesand Windows API. - Gradient and scrolling effects are handled via the
rgbprintlibrary. - Persistent blacklist ensures each IP is printed only once.
Distributed under the MIT License. See LICENSE for more information.
- Maintainer: @SwezyDev — reach out via Telegram: @Swezy
- Inspiration: System monitoring utilities and public security research.
This project is intended for personal learning and monitoring. Do not use it to intrude on other people's systems or conduct unauthorized actions. This tool is not affiliated with, endorsed by, or sponsored by AnyDesk in any way.
This project is made for educational purposes and visual monitoring. Use responsibly — do not exploit or misuse.
