Module: Rex::Post::Meterpreter::Ui::Console::CommandDispatcher::Stdapi::Net::PortForwardTracker
- Defined in:
- lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
Overview
This module is used to extend the meterpreter session so that local port forwards can be tracked and cleaned up when the meterpreter session goes away
Instance Attribute Summary collapse
-
#pfservice ⇒ Object
Returns the value of attribute pfservice.
Instance Method Summary collapse
Instance Attribute Details
#pfservice ⇒ Object
Returns the value of attribute pfservice.
36 37 38 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb', line 36 def pfservice @pfservice end |
Instance Method Details
#cleanup ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb', line 28 def cleanup super if pfservice pfservice.deref end end |