Metasploit mailing list archives

Re: Generate a web server inside a plugin


From: HD Moore <hdm () metasploit com>
Date: Sun, 08 Nov 2009 16:36:16 -0600

On Sun, 2009-11-08 at 22:43 +0100, spinbad wrote:
Is there a way to use the Msf::Exploit::Remote::HttpServer mixin
inside
a plugin ? Directly including it doesn't work:

"[-] Failed to load plugin
from /home/haensel/metasploit/plugins/sample: wrong number of
arguments (2 for 1)"

This makes sense to me, but how can I do this? 

The exploit/auxiliary mixins are designed to work in a module context,
they will not work when included into a plugin.

-HD

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


Current thread: