{ "info": { "author": "Hartmut Goebel", "author_email": "h.goebel@goebel-consult.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Security", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. -*- mode: rst -*-\n\n==========================\n`openvas.oaplib`\n==========================\n\n---------------------------------------------------------------------\nAn OAP (OpenVAS Administration Protocol) client interface for Python.\n---------------------------------------------------------------------\n\n:Author: Hartmut Goebel \n:Version: Version 0.1.0\n:Copyright: GNU Public Licence v3 (GPLv3)\n:Homepage: http://www.openvas.org/\n\n`OpenVAS`__ (Open Vulnerability Assessment System) is a network\nsecurity scanner with associated tools. OpenVAS Version 3 introduces a\nnew core component: The OpenVAS-Administrator. It is intended to\nsimplify the configuration and administration of an OpenVAS server\nboth on a local installation as well as on a remote system.\n\n__ http://www.openvas.org\n\nOpenVAS Administration Protocol (OAP) is the protocol based on XML to\ntalk to the OpenVAS-Administrator. `openvas.oaplib` is a pure-Python\nimplementation of OAP which allows easy access to the\nOpenVAS-Administrator.\n\nThis package also includes a command line tool `oap-cli` for\ninteracting with openvas-administrator. For easy of usage, this tool\nuses sub-commands much like svn or openssl does.\n\nExample::\n\n admin = openvas.oaplib.OAPClient(host=sensor)\n admin.open(username, password)\n admin.create_user(name, password, role, hosts)\n admin.modify_user(name, role=\"Admin\")\n admin.sync_feed()\n # ... later ...\n settings = admin.get_settings()\n pprint.pprint(settings)\n\n`openvas.opmlib` also supports a low-level interface where you can send\nOAP XML directly::\n\n help_text = admin.xml('')\n\n\nExamples for `oap-cli` usage:\n\n oap-cli --help # get help\n oap-cli get-users --help # get help on subcommand get-users\n oap-cli create-user --new-pass xxx john\n oap-cli get-users john \n\n.. \n For more information please refer to the manpage or visit\n the `project homepage `_.\n\n\nRequirements and Installation\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n`openvas.oaplib` requires\n\n* `Python 2.5`__ or higher with SSL support (which should be the\n default on most platforms) (NB: Python 3.x is *not* supported)\n* `setuptools`__ for installation (see below).\n* `argparse`__ (already included in Python starting with Python 2.7)\n\n__ http://www.python.org/download/\n__ http://pypi.python.org/pypi/setuptools\n__ http://pypi.python.org/pypi/argparse\n\n\n:Hints for installing on Windows: Following the links above you will\n find .msi and .exe-installers. Simply install them and continue\n with `installing openvas.oaplib`_.\n\n:Hints for installing on GNU/Linux: Most current GNU/Linux distributions\n provide packages for the requirements. Look for packages names like\n `python-setuptools` and `python-argparse`. Simply install them and\n continue with `installing openvas.oaplib`_.\n\n:Hint for installing on other platforms: Many vendors provide Python.\n Please check your vendors software repository. Otherwise please\n download Python 2.6 (or any higer version from the 2.x series) from\n http://www.python.org/download/ and follow the installation\n instructions there.\n\n After installing Python, install `setuptools`__. You may want to\n read `More Hints on Installing setuptools`_ first.\n\n__ http://pypi.python.org/pypi/setuptools\n\n Using setuptools, compiling and installing the remaining\n requirements is a piece of cake::\n\n # if the system has network access\n easy_install argparse\n\n # without network access download argparse\n # from http://pypi.python.org/pypi/argparse and run\n easy_install argparse-*.zip\n\n\nInstalling openvas.oaplib\n---------------------------------\n\nWhen you are reading this you most probably already downloaded and\nunpacked `openvas.oaplib`. Thus installing is as easy as running::\n\n python ./setup.py install\n\nOtherwise you may install directly using setuptools/easy_install. If\nyour system has network access installing `openvas.oaplib` is a\nbreeze::\n\n easy_install openvas.oaplib\n\nWithout network access download `openvas.oaplib` from\nhttp://pypi.python.org/pypi/openvas.oaplib and run::\n\n easy_install openvas.oaplib-*.tar.gz\n\n\nMore Hints on Installing setuptools\n------------------------------------\n\n`openvas.oaplib` uses setuptools for installation. Thus you need\neither\n\n * network access, so the install script will automatically download\n and install setuptools if they are not already installed\n\nor\n\n * the correct version of setuptools preinstalled using the\n `EasyInstall installation instructions`__. Those instructions also\n have tips for dealing with firewalls as well as how to manually\n download and install setuptools.\n\n__ http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions\n\n\nCustom Installation Locations\n------------------------------\n\n`openvas.oaplib` is just a single script (aka Python program). So you can\ncopy it where ever you want (maybe fixing the first line). But it's\neasier to just use::\n\n # install to /usr/local/bin\n python ./setup.py install --prefix /usr/local\n\n # install to your Home directory (~/bin)\n python ./setup.py install --home ~\n\n\nPlease mind: This effects also the installation of argparse (and\nsetuptools) if they are not already installed.\n\nFor more information about Custom Installation Locations please refer\nto the `Custom Installation Locations Instructions`__ before\ninstalling `openvas.oaplib`.\n\n__ http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations>", "description_content_type": null, "docs_url": null, "download_url": "http://wald.intevation.org/frs/?group_id=29", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.openvas.org/", "keywords": "OpenVAS,OAP,OpenVAS Administration Protocol,Nessus", "license": "GPL 3.0", "maintainer": null, "maintainer_email": null, "name": "openvas.oaplib", "package_url": "https://pypi.org/project/openvas.oaplib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/openvas.oaplib/", "project_urls": { "Download": "http://wald.intevation.org/frs/?group_id=29", "Homepage": "http://www.openvas.org/" }, "release_url": "https://pypi.org/project/openvas.oaplib/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "An OAP (OpenVAS Administration Protocol) client interface for Python", "version": "0.1.0" }, "last_serial": 762544, "releases": { "0.0.1dev-r7499": [ { "comment_text": "", "digests": { "md5": "c7e12a0d8125e04ead0047ee930d3f61", "sha256": "3cf362196f9faab954e181be1ef34113769666fbcb6504f582be2772b6f714f0" }, "downloads": -1, "filename": "openvas.oaplib-0.0.1dev-r7499.tar.bz2", "has_sig": false, "md5_digest": "c7e12a0d8125e04ead0047ee930d3f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23284, "upload_time": "2010-05-02T18:10:30", "url": "https://files.pythonhosted.org/packages/56/59/b4658d0bf91020b8b26c06925c7e2a0c9bcc44de2a063578bbddb3b8beac/openvas.oaplib-0.0.1dev-r7499.tar.bz2" }, { "comment_text": "", "digests": { "md5": "70f153d0cc4e111ab1bad8fa993f07d4", "sha256": "8cde0c1dd6225650b26d0893f9ddf434b61cfe1e651b278b9843b06128b0dc1f" }, "downloads": -1, "filename": "openvas.oaplib-0.0.1dev-r7499.zip", "has_sig": false, "md5_digest": "70f153d0cc4e111ab1bad8fa993f07d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35241, "upload_time": "2010-05-02T18:10:32", "url": "https://files.pythonhosted.org/packages/c1/a8/8d3a1a98ae5e6ea95116ccaf15aaedc1edbd1aa93f4c380928ec4efe0f20/openvas.oaplib-0.0.1dev-r7499.zip" } ], "0.0.1dev-r7742": [ { "comment_text": "", "digests": { "md5": "8816531736839363d32b21d5025ea2cf", "sha256": "e0171fff99380d3e263cc72f01db86f0c2da8a32c1479e86c1920fc956188b71" }, "downloads": -1, "filename": "openvas.oaplib-0.0.1dev-r7742.tar.bz2", "has_sig": false, "md5_digest": "8816531736839363d32b21d5025ea2cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27768, "upload_time": "2010-05-17T20:11:18", "url": "https://files.pythonhosted.org/packages/13/0d/1e312c4d27ce7b729f2d897db69fc26d5331c66a94cad54c900e91c8c3ae/openvas.oaplib-0.0.1dev-r7742.tar.bz2" }, { "comment_text": "", "digests": { "md5": "311bd1c22c3caa80a4699a904422a3a3", "sha256": "680effdf64fe24e9cd5c53a88cbf73f12faee7c5eab3ab6f465dca5b6caa0b91" }, "downloads": -1, "filename": "openvas.oaplib-0.0.1dev-r7742.zip", "has_sig": false, "md5_digest": "311bd1c22c3caa80a4699a904422a3a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41517, "upload_time": "2010-05-17T20:11:21", "url": "https://files.pythonhosted.org/packages/da/9e/fcebb7d4b98ad1cb18fc8d9198e2d569ace54c9e69f24a4f021c50efad39/openvas.oaplib-0.0.1dev-r7742.zip" } ], "0.1.0": [] }, "urls": [] }