An OpenVAS Managment Protocol (OMP) v7 client for Python
Project description
An OpenVAS Managment Protocol (OMP) v7+ client for Python.
Installation
To install pyvas, simply run:
$ pip install pyvas
Usage
>>> 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
Documentation is currently a work in progress, please check back soon.
How to Contribute
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!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvas-0.3.1.tar.gz
(13.2 kB
view hashes)
Built Distribution
Close
Hashes for pyvas-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b18fb859e49125815b55a7a4a00439fef79ad8274b4515b7219d3470574a46 |
|
MD5 | b18638b1c5ee5d1c1dbabc0e0334b723 |
|
BLAKE2b-256 | 1fa595d4b5d32305c793faa6f4e7913015e86ade46df30357d7c49970d84eb69 |