mailing list archives
Re: How to call Console::UI from MSF plugin
From: eski mo <eskimo.ganges () gmail com>
Date: Sun, 4 Apr 2010 20:21:32 +0500
Thanx HD, But , my query is still unsolved. I want to call the
interactive commands from my plugin (say run_me_baby.rc ,placed at
msf3/plugin folder). What you're telling me is the executing of ruby
code by ./msfconsole (correct if wrong). I only want to know which
module to call frm inside my plugin say run_me_baby.rc.
If you call interactive commands (interact, sessions -i, etc) from the
Ruby code, keep in mind the ruby will keep executing when it returns.
You can mix multiple ruby blocks with inline commands in RC scripts.
in that case how to kill the code (running in memory).
I short my query is to execute the following codes from inside my
plugin say run_me_baby.rc. .
set LHOST 192.168.1.1
set LPORT 12345
set PAYLOAD something
just wanna do this.