Now that we have patched the Metasploit library, let's perform a Nessus scan using Metasploit:
- After patching the gem, we can now create a vulnerability scanning task using the nessus_scan_new <UUID of Policy> <Scan name> <Description> <Targets> command, as shown here:
- Once the task is created, we can confirm it by executing the nessus_scan_list command. Scan ID will be used to launch the task, so let's make a note of it, as shown here:
- Let's confirm the same by accessing the Nessus web interface:
As we can see in the preceding screenshot, the scanning task is created but it has not yet launched.
- To launch the scanning task, we need to execute the nessus_scan_launch <scan ID> command:
We have successfully launched the scanning task.
- Let's confirm it on the Nessus web interface...