Skip to content
forked from at-ohms/VMKey

VMKey is an usefull tool to send keystrokes on VMware virtual machine throught vSphere API.

License

Notifications You must be signed in to change notification settings

bradleysryder/VMKey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

VMKey

VMKey is an usefull tool write in Python to send keystrokes on VMware virtual machine throught vSphere API.

Requirements

  • vSphere 6.5 or higher
  • argparse
  • pyvmomi

Usage

VMKey.py -h

positional arguments:

host                  vSphere IP or Hostname
username              vSphere Username
password              vSphere Password
vm                    VM Name

optional arguments:

-h, --help            show this help message and exit
--port PORT           alternative TCP port to communicate with vSphere API (default: 443)
--timeout TIMEOUT     timeout for VSphere API connection (default: 10s)
--debug               enable debug mode
--key                 key to passed to VM
--string STRING       string to passed to VM (Standard ASCII characters only)

Examples

VMKey.py host username password vm --string "Hello World !"
VMKey.py host username password vm --key CTRL_ALT_DEL

Notes

Available keys are listed in HIDCode variable.

About

VMKey is an usefull tool to send keystrokes on VMware virtual machine throught vSphere API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%