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.
Release files for py-nessus-pro 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_nessus_pro-1.3.3.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_nessus_pro-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / py_nessus_pro-1.3.3.tar.gz
| Download URL | py_nessus_pro-1.3.3.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81345c56de6ed5e2617021d7eeeb73a8ed6079897c7f8f35f4d9b11ebe87bee3
|
|
BLAKE2b-256 checksum How to use checksums |
053cffd9a194029e4e9ebbc7747c9c7800931fbeaee34af6b89b966be64be488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / py_nessus_pro-1.3.3-py3-none-any.whl
| Download URL | py_nessus_pro-1.3.3-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
799a56b3fbb219809b6574fdb2373b66ecec796f76e0023678e36f6c8d1a8caf
|
|
BLAKE2b-256 checksum How to use checksums |
f1e68c01b55ea1afcb89fd9b0afb65c9f1ee4a92ad46ba8fe6141d3ea425e2aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|