Metasploit mailing list archives

Re: msfcli error


From: HD Moore <hdm () metasploit com>
Date: Wed, 23 Dec 2009 00:02:57 -0600

On 12/22/2009 11:41 PM, kalgecin wrote:
I'm using the latest svn (7956)

root@kalgecin-desktop:/opt/metasploit3/msf3# ../bin/msfcli multi/handler
windows/meterpreter/reverse_tcp LHOST=192.168.0.100 S
[*] Please wait while we load the module tree...
/opt/metasploit3/msf3/lib/msf/core/data_store.rb:93:in `each': The
argument could not be parsed correctly. (Rex::ArgumentParseError)
      from /opt/metasploit3/msf3/lib/msf/core/data_store.rb:93:in
`import_options_from_s'
      from ../msf3/msfcli:140:in `<main>'


This is an ugly error, but its actually correct. Your command line is
missing the PAYLOAD= before the payload name, which is why it says the
options format is invalid. You should use msfconsole with -r and a
resource file instead when possible, as msfcli has issues with passive
exploits and cant handle more than one session.

-HD
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: