[nexpose-users] error when connecting nexpose instance

Errol Fagone Errol_Fagone at rapid7.com
Tue Mar 2 10:46:12 PST 2010


Does your NeXpose password contain special characters? I have seen this before and creating a separate user in NeXpose for Metasploit without the use of special characters in your password helped solve the problem. Let us know if your password doesn't even contain special characters though...

Thanks,
Errol

From: nexpose-users-bounces at lists.rapid7.com [mailto:nexpose-users-bounces at lists.rapid7.com] On Behalf Of Eddie Akemu
Sent: Tuesday, March 02, 2010 1:05 PM
To: nexpose-users at lists.rapid7.com
Subject: [nexpose-users] error when connecting nexpose instance

Hi

I get this when i connect to nexpose

[*] NeXpose integration has been activated
[*] Successfully loaded plugin: nexpose
resource (./NeXpose.rc)> nexpose_connect nxadmin:nxadmin at 127.0.0.1:3780
[*] Connecting to NeXpose instance at 127.0.0.1:3780 with username nxadmin...
[-] Error while running command nexpose_connect: #<RuntimeError: Illegal character '&' in raw string "
         document.write('\u003ca href="');
         document.write(document.nxp.skin.getVendorSite());
         document.write('"\u003e');
         document.write(document.nxp.skin.getVendorName());
         document.write('\u003c/a\u003e, ');
         document.write(document.nxp.skin.getVendorAddress());
         var supportHelpURL = document.nxp.skin.getSupportHelpURL(

all stack:
/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:92:in `parse'
/usr/lib/ruby/1.8/rexml/document.rb:228:in `build'
/usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize'
/opt/metasploit3/msf3/plugins/nexpose.rb:506:in `new'
/opt/metasploit3/msf3/plugins/nexpose.rb:506:in `parse_xml'
/opt/metasploit3/msf3/plugins/nexpose.rb:545:in `execute'
/opt/metasploit3/msf3/plugins/nexpose.rb:589:in `execute'
/opt/metasploit3/msf3/plugins/nexpose.rb:810:in `execute'
/opt/metasploit3/msf3/plugins/nexpose.rb:791:in `login'
/opt/metasploit3/msf3/plugins/nexpose.rb:104:in `cmd_nexpose_connect'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:239:in `send'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:239:in `run_command'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:201:in `run_single'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `each'
/opt/metasploit3/msf3/lib/rex/ui/text/dispatcher_shell.rb:195:in `run_single'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:237:in `load_resource'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:232:in `each_line'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:232:in `load_resource'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:156:in `initialize'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:155:in `each'
/opt/metasploit3/msf3/lib/msf/ui/console/driver.rb:155:in `initialize'
./msfconsole:93:in `new'
./msfconsole:93

What is wrong ?

Kind regards
Eddie Akemu
CISSP






________________________________
Do you have a story that started on Hotmail? Tell us now<http://clk.atdmt.com/UKM/go/195013117/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/nexpose-users/attachments/20100302/e31d6520/attachment.html>


More information about the nexpose-users mailing list