Vulnerability & Exploit Database

Back to search

X11 Keyboard Command Injection

This module exploits open X11 servers by connecting and registering a virtual keyboard. The virtual keyboard is used to open an xterm or gnome terminal and type and execute the specified payload.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/unix/x11/x11_keyboard_exec

Authors

  • xistence <xistence [at] 0x90.nl>

Targets

  • xterm (Generic)
  • gnome-terminal (Ubuntu)

Platforms

  • unix

Architectures

  • cmd

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/x11/x11_keyboard_exec msf exploit(x11_keyboard_exec) > show targets ...targets... msf exploit(x11_keyboard_exec) > set TARGET <target-id> msf exploit(x11_keyboard_exec) > show options ...show and set options... msf exploit(x11_keyboard_exec) > exploit