Home page logo
/

metasploit logo Metasploit 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:

driver.run_single("help")
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault