Skip to content

Anyxx-DEV/DeskWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🖥️ DeskWatch 🖥️

See who is connecting to your machine over AnyDesk.


🚩 Overview

DeskWatch is a Python tool that monitors active AnyDesk connections on your own system and prints the remote IP address and port in a gradient CLI. A persistent blacklist keeps each address from being reported twice, and the console can be made transparent.

It is meant for the case where someone opens a remote session to your machine and you want to know where that session originates.

Caution

DeskWatch monitors your own machine. Do not deploy it on systems you do not own, and do not use the addresses it reports for access attempts, retaliation, or any other unauthorized action.


✨ Features

  • 👀 Monitor AnyDesk connections — detects running AnyDesk processes and reads their active connections.
  • 🧠 Persistent blacklist — every IP is reported once, no repeats.
  • 🌈 Gradient CLI — color gradients and scrolling output via rgbprint.
  • 🖥️ Transparent console — adjustable transparency for a cleaner look.
  • Real time — polls continuously and reports new peers immediately.

🧭 How it works

  1. Start the tool (python main.py).
  2. DeskWatch looks for AnyDesk processes on the system.
  3. Once AnyDesk is running, its active remote connections are read and displayed:
    • Remote IP
    • Port
  4. Link-local addresses (169.254.x.x), 127.0.0.1, and ports 80 and 443 are ignored.
  5. Addresses that were already reported go on the blacklist automatically.
  6. Output is rendered with color gradients and scrolling effects.

🧰 Requirements

  • 🐍 Python 3.9+

  • 📦 Dependencies:

    pip install rgbprint psutil colorama
  • 🖥️ Windows (for console transparency and connection lookup)


▶️ Usage

python main.py

📝 Project structure

├─ main.py ➔ Main logic and CLI
├─ LICENSE ➔ License file
└─ README.md ➔ This file

⚙️ Technical details

  • psutil detects running AnyDesk processes and reads their TCP connections.
  • Sockets in LISTEN state and link-local addresses are filtered out.
  • Console transparency is set through ctypes and the Windows API.
  • Gradients and scrolling effects come from rgbprint.
  • The persistent blacklist ensures each IP is printed only once.

⚖️ License

Released under the MIT License. See LICENSE for details.

DeskWatch is based on an existing MIT-licensed project; the original copyright notice is retained as the license requires.


🚨 Disclaimer

DeskWatch is for monitoring your own system. Do not use it to intrude on other systems or to carry out unauthorized actions. This project is not affiliated with, endorsed by, or sponsored by AnyDesk.

About

See who is connecting to your machine over AnyDesk - remote IP and port in a gradient CLI.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages