Command-line scanning with Nessuscmd
Nessuscmd is a command-line utility in Nessus. Nessuscmd can be useful if you wish to integrate Nessus plugin scans into scripting or to reevaluate the previously identified vulnerabilities.
Getting ready
To use Nessuscmd for vulnerability scanning, one must first have a functional copy of Nessus installed on the Kali Linux penetration testing platform. Because Nessus is a licensed product, it does not come installed by default in Kali. For more information on how to install Nessus in Kali, refer to the Installing Nessus on Kali Linux recipe in Chapter 1, Getting Started.
How to do it…
To get started, you will need to change to the directory containing the nessuscmd
script. Then, by executing the script without supplying any arguments, you can review the output that includes the appropriate usage and available options as follows:
root@KaliLinux:~# cd /opt/nessus/bin/ root@KaliLinux:/opt/nessus/bin# ./nessuscmd Error - no target specified nessuscmd (Nessus...