Nessus-Bridge-for-Metasploit
Nessus-Bridge-for-Metasploit copied to clipboard
nessus_connect fails
I'm unable to connect to my running Nessus server. I can log into the server via a browser without issue. I tried "localhost" as well as 127.0.0.1 with Nessus_connect. Searching for an answer I came across someone with the same problem and the response was, "We'll track this on github" but I don't see it listed as an issue.
This is what I see when trying to connect msf to Nessus:
msf > nessus_connect superteece:************@127.0.0.1:8834 ok
[*] Connecting to https://127.0.0.1:8834/ as superteece
Error connecting/logging to the server!
[-] Error while running command nessus_connect: undefined method `root' for nil:NilClass
Call stack:
/usr/share/metasploit-framework/lib/nessus/nessus-xmlrpc.rb:147:in `login'
/usr/share/metasploit-framework/plugins/nessus.rb:445:in `nessus_login'
/usr/share/metasploit-framework/plugins/nessus.rb:431:in `cmd_nessus_connect'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:427:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:389:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:200:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:30:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/opt/metasploit/apps/pro/msf3/msfconsole:48:in `<main>'