What problem does it solve?
During authorized penetration tests, exposed X Window System (X11) display servers on TCP 6000+ are often misconfigured with open access or reusable MIT-MAGIC-COOKIE-1 tokens, yet testers frequently miss how to turn that access into demonstrated impact like screenshots, clipboard theft, keystroke capture, and command execution.
Core Features & Use Cases
- Access Detection: Detect unauthenticated ("xhost +") X11 displays using nmap NSE scripts and Metasploit's open_x11 scanner, and confirm access with xdpyinfo and xwininfo.
- Session Exploitation: Reuse ~/.Xauthority cookies, enumerate windows and clients, sniff keystrokes with xspy, steal clipboard contents with xclip/xsel, and capture screenshots with xwd.
- Command Execution: Inject keystrokes with xdotool or Metasploit's x11_keyboard_exec to run commands inside the victim's graphical session.
- Use Case: A tester finds TCP 6000 open on a Linux host, confirms anonymous display access, captures a desktop screenshot revealing a password manager, and injects keystrokes to spawn a reverse shell as proof of impact.
Quick Start
Ask the AI to check whether the X11 display on target IP port 6000 allows unauthenticated access and demonstrate the impact.