Class: FIDIUS::PacketLogger::MySocketEventHandler
- Inherits:
-
Object
- Object
- FIDIUS::PacketLogger::MySocketEventHandler
- Includes:
- Rex::Socket::Comm::Events
- Defined in:
- lib/msf-plugins/evasiondb.rb
Instance Method Summary collapse
-
#initialize ⇒ MySocketEventHandler
constructor
A new instance of MySocketEventHandler.
- #on_before_socket_create(comm, param) ⇒ Object
- #on_socket_created(comm, sock, param) ⇒ Object
Constructor Details
#initialize ⇒ MySocketEventHandler
Returns a new instance of MySocketEventHandler.
294 295 296 |
# File 'lib/msf-plugins/evasiondb.rb', line 294 def initialize end |
Instance Method Details
#on_before_socket_create(comm, param) ⇒ Object
298 299 |
# File 'lib/msf-plugins/evasiondb.rb', line 298 def on_before_socket_create(comm, param) end |
#on_socket_created(comm, sock, param) ⇒ Object
301 302 303 304 305 306 |
# File 'lib/msf-plugins/evasiondb.rb', line 301 def on_socket_created(comm, sock, param) sock.extend(FIDIUS::SocketTracer) sock.context = param.context sock.params = param sock.initlog end |