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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py_nessus_pro-1.2.5.tar.gz
.
File metadata
- Download URL: py_nessus_pro-1.2.5.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c70b464a4d335d79a38a032b37334e6072ab55c20c331dbd3100f28020889ef1 |
|
MD5 | bccbc1a6e2fa4cbe8a1b9a9b86b72992 |
|
BLAKE2b-256 | 76c5938fe40cbbdb25dfbf63894327da35bb7732a7afd465ee949ff6772d4be8 |
File details
Details for the file py_nessus_pro-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: py_nessus_pro-1.2.5-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ade83514f9689a9e82f1c957c3f9526c0817a6675c4365b28235440ee401c4 |
|
MD5 | bfa8a333a1b3ee63cff75716e3866248 |
|
BLAKE2b-256 | 3a376804bcaffcf826e879fab03b75aca4031d2f01586f23c618116145b2764f |