| Module | Msf::Handler::PassiveX::PxSession |
| In: |
lib/msf/core/handler/passivex.rb
|
A PassiveX mixin that is used to extend the Msf::Session class in order to add a reference to the payload handler that created the session in a guaranteed fashion. In turn, the cleanup routine for the session is modified to call deref_handler on the payload handler if it‘s defined. This is done to ensure that the tunneling handler stays running while there are sessions that still have references to it.