Skip to content

command line tool to send keys to virtualbox instances through the keyboardputscancode interface

License

Notifications You must be signed in to change notification settings

donaldsteele/virtualbox-send-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSK (virtualbox-send-keys)

command line tool to send keys to virtualbox virtual machines through the keyboardputscancode interface by converting ascii codes to atx1 scan codes. This tool does not require the virtualbox guest additions to be installed and is a great way to automate initial build tasks.

Requirements

php 5.6+

oracle virtualbox

Usage example

====================================================
 ./vsk Help
 -v        Name of the vm to send to
 -s    quoted string to send to vm
 
 Available control characters:
 ^RETURN \n ^TAB \t
 
 Example: (login and download a file)
 ./vsk -v="myVM" -s='root\nmypass\n'
 ./vsk -v="myVM" -s='wget http://www.somedomain.com/myfile.tar.gz\n'

Demo

IMAGE ALT TEXT

About

command line tool to send keys to virtualbox instances through the keyboardputscancode interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages