rather than a command, here it is:
This guide breaks down why this error occurs, how Nessus plugin updates actually work, and the exact steps to successfully update your scanner offline. Understanding the Error and Syntax
Verify the MD5 or SHA256 checksum of the downloaded all-2.0.tar.gz file to ensure it wasn't corrupted during transfer.
# Linux example /opt/nessus/sbin/nessuscli update /path/to/nessusupdateplugins-all20.tar.gz # Windows example C:\Program Files\Tenable\Nessus\nessuscli.exe update C:\path\to\nessusupdateplugins-all20.tar.gz Use code with caution. download nessusupdateplugins all20targz top
Tenable provides checksums on the same download page. Example:
Step-by-Step: How to Properly Download the Nessus Plugin Archive
Once the file is downloaded, transfer it securely to your offline Nessus server. Method 1: Using the Nessus CLI ( nessuscli ) rather than a command, here it is: This
while [[ $# -gt 0 ]]; do case $1 in --version) PLUGIN_VERSION="$2" shift 2 ;; --output-dir) DOWNLOAD_DIR="$2" shift 2 ;; --extract) EXTRACT="true" shift ;; --help) echo "Usage: $0 [OPTIONS]" echo "Options:" echo " --version VERSION Plugin version (default: all-2.0)" echo " --output-dir DIR Download directory (default: /tmp/nessus_plugins)" echo " --extract Extract the archive after download" echo " --help Show this help message" exit 0 ;; *) log_error "Unknown option: $1" exit 1 ;; esac done
# Download the file if download_file "$download_url" "$filepath"; then if verify_download "$filepath"; then log_info "✅ Download successful: $filename"
A tarball compressed with gzip, commonly used in Unix-based systems where Nessus often resides. Tenable provides checksums on the same download page
以下以最常见的Linux系统为例,这也是大多数Nessus服务器的部署平台。首先,通过SSH等方式登录到您的离线Nessus服务器,打开终端。
使用 nessuscli update 命令,并将您下载的插件包全路径作为参数。
Enter the legitimate alphanumeric Activation Code associated with your Nessus professional, expert, or manager license subscription.
set -euo pipefail