Skip to content

A script to obtain the IP address of the user trying connecting to you via AnyDesk for educational and research purposes only.

License

Notifications You must be signed in to change notification settings

SwezyDev/AnyGrab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ AnyGrab 🛡️


Leave a ⭐ if you like this Repository


🚩 Project overview

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.


✨ Features

  • 👀 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 rgbprint for 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.

🧭 How It Works

  1. Run the tool (python main.py).
  2. The program monitors AnyDesk processes on your system.
  3. When AnyDesk is detected, it grabs active remote connections and displays:
    • Remote IP
    • Port
  4. The program ignores local-link addresses (169.254.x.x) and common ports like 80 and 443.
  5. Duplicate IPs are blacklisted automatically to avoid repeated notifications.
  6. The CLI displays messages in color gradients and scroll animations for a premium visual experience.

🧰 Requirements

  • 🐍 Python 3.9+

  • 📦 Dependencies:

    pip install rgbprint psutil colorama
  • 🖥️ Windows operating system (for console transparency and netstat)


📝 Repository structure

├─ 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

🖼️ Preview



Program preview


⚙️ Technical Details

  • Uses psutil to detect running AnyDesk processes.
  • Uses subprocess with netstat to capture TCP connections.
  • Filters out LISTENING ports and local-link addresses.
  • Console transparency is implemented via ctypes and Windows API.
  • Gradient and scrolling effects are handled via the rgbprint library.
  • Persistent blacklist ensures each IP is printed only once.

⚖️ License

Distributed under the MIT License. See LICENSE for more information.


🙌 Credits & contact

  • Maintainer: @SwezyDev — reach out via Telegram: @Swezy
  • Inspiration: System monitoring utilities and public security research.

🚨 Disclaimer

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.


📣 Final note

This project is made for educational purposes and visual monitoring. Use responsibly — do not exploit or misuse.

About

A script to obtain the IP address of the user trying connecting to you via AnyDesk for educational and research purposes only.

Topics

Resources

License

Stars

Watchers

Forks

Languages