User guide
Copyright © 2014. Tenable Network Security, Inc. All rights reserved. Tenable Network Security and Nessus are registered trademarks of Tenable Network Security, Inc.
5
If you want to see help for a specific command, the syntax is:
# nessuscli <cmd> help
An example of this help usage is:
# /opt/nessus/sbin/nessuscli bug-report-generator help
Usage: nessuscli bug-report-generator
Usage: nessuscli bug-report-generator --quiet [--full] [--scrub]
Generate an archive of system diagnostics.
Running without arguments will prompt for values.
Running with --quiet will not prompt for values.
The defaults in quiet mode are normal mode and no IPv4 subnet sanitization.
--full and --scrub can be used to enable full mode and IPv4 subnet sanitization,
respectively, in quiet mode.
Nessus Command Line Fix Commands
The nessuscli fix allows you to change the Nessus server settings from the command line. This includes managing
advanced settings, resetting registration information, and listing network interfaces on the system.
Resetting Registration and Erase Settings
To reset the registration information, shut down the nessusd service first. Next, run the nessuscli fix --reset
command. You will be prompted for confirmation.
If you have not shut down the nessusd service, the nessuscli fix --reset command will exit.
# /sbin/service nessusd stop
# /opt/nessus/sbin/nessuscli fix --reset
Resetting Nessus configuration will permanently erase all your settings and cause
Nessus to become unregistered.
Do you want to proceed? (y/n) [n]: y
Successfully reset Nessus configuration.
View the Current Network Interfaces
To view the network interfaces, run the nessuscli fix --list-interfaces command. This will include all IPv4 and
IPv6 interfaces.
# /opt/nessus/sbin/nessuscli fix --list-interfaces
Adapter# 0
Name............ lo
Real name ...... lo
IP address ..... 127.0.0.1
Network ........ 127.0.0.0
Netmask ........ 255.0.0.0
Adapter# 1
Name............ eth1
Real name ...... eth1
IP address ..... 172.26.32.243
Network ........ 172.26.32.0