🍰 Little package to do simple things with VirtualBox remotely using it's SOAP API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
remotevbox Format with black Jul 13, 2018
.gitignore
.travis.yml
LICENSE
Pipfile
README.rst
setup.cfg
setup.py

README.rst

Remote VirtualBox

Build Status Black Indicator

About

This package is intended to be simple and useful abstraction based on Zeep SOAP client.

It doesn't depend on ancient VirtualBox Python SDK and even more ancient ZSI (last updated in 2006) and PyXML (thing from 2007) libraries.

The initial goal was to build an easy to use CuckooSandbox machinery.

VirtualBox Webservice

There is an official manual how to start it:

https://www.virtualbox.org/manual/ch09.html#vboxwebsrv-daemon

Install

pip install remotevbox --user

Development version

Pipenv is used here:

pipenv install

Usage example

>>> import remotevbox
>>> vbox = remotevbox.connect("https://127.0.0.1:18083", "vbox", "yourpassphrase")
>>> vbox.get_version()
'5.1.30'
>>> machine = vbox.get_machine("Windows10")
>>> machine.launch()
>>> machine.save()
>>> vbox.disconnect()