mailing list archives
Re: How to call Console::UI from MSF plugin
From: HD Moore <hdm () metasploit com>
Date: Wed, 07 Apr 2010 13:11:00 -0500
On 4/7/2010 12:46 PM, eski mo wrote:
but there exists a method in this class called new.
if i can create an instance, then i can call method run_single() in
the same class
why is the method not visible?
You are going down the wrong path, the console instance is accessible
from as the "driver" method from within the CommandDispatcher of the
plugin. The following code runs a single command: