Pentesting X11

Testing the X Window System (X11) display server during authorized engagements. X11 listens on TCP 6000+<display> and the local Unix socket /tmp/.X11-unix/X<display>. Covers detecting unauthenticated ("xhost +") access with nmap NSE and Metasploit, abusing MIT-MAGIC-COOKIE-1 auth tokens from ~/.Xauthority, window/clipboard enumeration, keystroke sniffing (xspy), screenshotting (xwd), live shadowing, and keystroke injection (xdotool) for command execution.

xalgord Updated 1.3k repo stars
Xalgorix — AI Autonomous Penetration Testing Platform

File contents

xalgord/xalgorix commit 87dd6793d3

Frequently asked questions

npx get-skill add xalgord/pentesting-x11