An OpenVAS Managment Protocol (OMP) v7 client for Python.
To install pyvas, simply run:
$ pip install pyvas
>>> from pyvas import Client
>>> with Client(hostname, username='username', password='password') as cli:
>>> r = cli.list_tasks()
>>> r.ok
True
>>> r.data
[{u'@id': '...', ...}, {u'@id': '...', ...}]
>>> r = cli.get_task(task[0]["@id"])
>>> r.ok
True
>>> r.data
{u'@id': '...', ...}
Documentation is currently a work in progress, please check back soon.
- Look for open issues or report an issue
- Checkout a new branch from master and work away
- Remember to include tests
- Submit a pull request!