For Sessions of type "shell", use the read_shell() and write_shell() 
methods of the Session object. For Meterpreter sessions, the Session 
object is actually the Meterpreter client instance (see the Meterpreter 
scripting API for reference).

-HD


On Friday 31 October 2008, M. GAD wrote:
> Hi,
> Any hint, please, on using Rex::IO::BidirectionalPipe  and
> Msf::Sessions? and which is more appropriate to pass commands to the
> pipe and read their outputs?
>
> I have been lost (I am still a newbie of ruby). A simple example will
> be much appreciated.
_______________________________________________
Framework-Hackers mailing list
Framework-Hackers@spool.metasploit.com
http://spool.metasploit.com/mailman/listinfo/framework-hackers

Reply via email to