metasploit-framework March 2010 archive
Main Archive Page > Month Archives  > metasploit-framework archives
metasploit-framework: Re: [framework] msfcli modules/auxiliary/s

Re: [framework] msfcli modules/auxiliary/server/capture/ftp.rb

From: sigtrap <sigtrap_at_nospam>
Date: Fri Mar 26 2010 - 14:11:19 GMT
To: framework@spool.metasploit.com

Nice,
But if you copy modules/auxiliary/server/capture/ftp.rb to ftpcli.rb and just remove line 38 ('Capture') the module ftpcli.rb will work with msfcli. It is a work around until MSF 3.4. ;)
What do you mean by "multiple sessions"? I can run several modules this way with several different simultaneous connections.
Regards
//Sigtrap

----- Ursprungligt meddelande -----
Från: "HD Moore" <hdm@metasploit.com>
Till: framework@spool.metasploit.com
Skickat: fredag, 26 mar 2010 14:08:23 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
Ämne: Re: [framework] msfcli modules/auxiliary/server/capture/ftp.rb

On 3/26/2010 7:28 AM, sigtrap@sigtrap.org wrote:
> Hi all,
> My friend Patrik found a bug.
> After looking into it it looks like the modules modules/auxiliary/server/capture/* can't be started by msfcli.
> The problem is lib/msf/base/simple/auxiliary.rb that starts the modules in the background.
> If you remove the line 'Capture' under 'PassiveActions => [ in the module it will run fine with msfcli, but it will not run in the background with msfconsole.
> Looks like an option is missing or checks if the module could be run in the background (as a job).
> Regards

Thanks! We have a ticket open for this, the solution is to nuke msfcli
and replace it with a works-the-same wrapper around msfconsole. Passive
exploits are tricky to handle in msfcli and even if we get the basics
working, they still wouldn't allow multiple sessions to be accessed.

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