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.3.2.tar.gz (16.7 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.3.2-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nessus_pro-1.3.2.tar.gz
  • Upload date:
  • Size: 16.7 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.3.2.tar.gz
Algorithm Hash digest
SHA256 86fadfc12eabceab78be02c2e4fcaa743855e1ac102fc9309dbd8e24b925de00
MD5 e0fa250d60645ad737497ed3b5df8d60
BLAKE2b-256 1937f065c2ba7646f57a135653d52b4a3c8ac7ccd32d261ef80156deee32fa7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_nessus_pro-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71744215e85dc6797accdca9b16003e638abc69f16af4681f94aff64ec53a313
MD5 f20b84c4776a488f389efdd6fcb959a3
BLAKE2b-256 68eb4ba1942556b8fd1e7e4bd84d2814b9c3aec5cf655d8a07578af342d6f010

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