Skip to main content

Python library for managing Nessus Professional.

Project description

py_nessus_pro is a Python module that provides a high-level interface for interacting with a Nessus vulnerability scanner. The module uses the Nessus REST API to perform various operations, such as creating and managing scans, retrieving scan metadata and reports, and searching for scans by name or date. It provides Nessus Professional with an interface to expand the read-omly API and be able to launch scans and modify them.

Installation

To install py_nessus_pro, simply run:

pip install py-nessus-pro

Usage

Create an instance

from py_nessus_pro import PyNessusPro

nessus_server = "https://nessus-server-url:8834"
username = "admin"
password = "password"
nessus = PyNessus(nessus_server, username, password)

Launch a scan:

scan_name = "My Scan"
scan_target = "127.0.0.1"
scan_folder = "Automatic Scan Test"

scan_index = nessus.new_scan(name=scan_name, target=scan_target, folder=scan_folder)

License

py_nessus_pro is licensed under the GNU GENERAL PUBLIC LICENSE Version 2. See the LICENSE file for more information.

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

py_nessus_pro-1.2.8.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_nessus_pro-1.2.8-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file py_nessus_pro-1.2.8.tar.gz.

File metadata

  • Download URL: py_nessus_pro-1.2.8.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for py_nessus_pro-1.2.8.tar.gz
Algorithm Hash digest
SHA256 ebca74567f477a2c288d9f5504661d1e8b3ee66cda24c8e46132a9b1d97bade1
MD5 709b1334ffd441f6ee914c2661ca36c4
BLAKE2b-256 bf62133583201b7e68b8fa3fabba0326043cf9e54371f6e47e68b78a0bf0a1b0

See more details on using hashes here.

File details

Details for the file py_nessus_pro-1.2.8-py3-none-any.whl.

File metadata

  • Download URL: py_nessus_pro-1.2.8-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for py_nessus_pro-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 efc5bc83cb6279976b8e74e6a5cfbcfcd187ef5deaa2dc4f0932a21bfd08d2ef
MD5 d59cf0b0d29889069b8c86f0cda05f4d
BLAKE2b-256 faa2558252090fb8595f18b23b130a0960e3fca8c0c0a767fda6ba54c45d4c25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page