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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nessus_pro-1.2.7.tar.gz
  • Upload date:
  • Size: 16.2 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.7.tar.gz
Algorithm Hash digest
SHA256 6c1e1a00ff202ad99b9823bf365e42c06ffb8f40c486fd5227732f9d5da84c79
MD5 62b2817586f5455d6a02c086c978f96f
BLAKE2b-256 4bc7b4d43a81974b2ba62140e993425e0421f1c7650c157d77efbd2bf3dafe87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_nessus_pro-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 89e6bfafdc80a52816bee5112e906f1464abb8fb5f776d543a44e136014bc912
MD5 2df6ec93fe1383c3ceca47f76c58e64b
BLAKE2b-256 4eb1cb397fa55d6290bc92db4a9f18368c59cda0c96738a47c08b8b635e5742c

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