How to do it...

  1. First, we will launch msfconsole and load the nessus plugin:
msf > load nessus [*] Nessus Bridge for Metasploit[*] Type nessus_help for a command listing[*] Successfully loaded plugin: Nessusmsf > 
  1. By running the nessus_help command, we can display all the available commands:
msf > nessus_help Command                     Help Text-------                     ---------Generic                     Commands -----------------           -----------------nessus_connect              Connect to a Nessus servernessus_logout               Logout from the Nessus servernessus_login                Login into the connected Nesssus server with a different username and passwordnessus_save                 Save credentials of the logged in user ...Scan                        Commands -----------------           -----------------nessus_scan_list            List of all current Nessus scansnessus_scan_new Create ...

Get Metasploit Penetration Testing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.