mpicard / pyvas

OpenVAS Management Protocol Client for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyvas: OMPv7 for Python

Build Status Coverage

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

  1. Look for open issues or report an issue
  2. Checkout a new branch from master and work away
  3. Remember to include tests
  4. Submit a pull request!

About

OpenVAS Management Protocol Client for Python

License:MIT License


Languages

Language:Python 100.0%