Class: Msf::Ui::Web::Comm::SessionEventSubscriber

Inherits:
Object
  • Object
show all
Includes:
SessionEvent
Defined in:
lib/msf/ui/web/comm.rb

Instance Method Summary collapse

Methods included from SessionEvent

#on_session_close, #on_session_command, #on_session_download, #on_session_filedelete, #on_session_interact, #on_session_output, #on_session_upload

Instance Method Details

#on_session_open(session) ⇒ Object


46
47
48
49
50
# File 'lib/msf/ui/web/comm.rb', line 46

def on_session_open(session)
  pipe = Comm.create_session_pipe(session)

  session.init_ui(pipe, pipe)
end