Metasploit mailing list archives

Handeling multiple reverse shell sessions.


From: mmiller at hick.org (mmiller at hick.org)
Date: Wed, 17 Oct 2007 09:09:36 -0700

On Wed, Oct 17, 2007 at 09:17:54PM +1000, Patrick Webster wrote:
Hi Abhie,

Metasploit Framework uses an internal handler to manage sessions.

Take a look at:

http://www.metasploit.com/svn/framework3/trunk/lib/msf/core/handler/

e.g.

http://www.metasploit.com/svn/framework3/trunk/lib/msf/core/handler/reverse_tcp.rb

One thing to add:  The handlers (mainly the reverse_tcp handler)
included in Metasploit already support handling multiple sessions.  The
handler used by a given exploit will run until the exploit has completed
and will accept as many connections as possible during that time.  This
is most commonly used in passive exploits, such as browser exploits.



Current thread: