mailing list archives
Re: How to call Console::UI from MSF plugin
From: eski mo <eskimo.ganges () gmail com>
Date: Sun, 4 Apr 2010 12:39:56 +0500
There are two parts to it.
1. I think the main MSF API console commands like use,exploit etc are
triggered by msf/ui/console . How do I call these commands within my
plugin. The 'Automating the Metasploit Console'
only provides automation just after msfconsole is fired. I want it at
the time of some triggered event (say arrival of session).
btw tried --- session.console.run_single(command)... dint worked :(
2. Can Meterpreter scripts call the main MSF UI console commands like
use,exploit etc. ?
On Thu, Apr 1, 2010 at 2:02 PM, eski mo <eskimo.ganges () gmail com> wrote:
Im developing metasploit plugin for automating few of my routine task
on any triggered action (like creation of new session)
I want to do some actions ( like "use windows/smb/ms08_067_netapi" )
on these newly created sessions as if i was typing it on console.
Which method should I call.
Any detail documentation in this regard would help enhance knowledge.