Class: Msf::Plugin::SessionNotifier
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::SessionNotifier
- Includes:
- SessionEvent
- Defined in:
- plugins/session_notifier.rb
Defined Under Namespace
Classes: Exception, SessionNotifierCommandDispatcher
Instance Attribute Summary
Attributes inherited from Msf::Plugin
Attributes included from Framework::Offspring
Instance Method Summary collapse
- #cleanup ⇒ Object
- #desc ⇒ Object
-
#initialize(framework, opts) ⇒ SessionNotifier
constructor
A new instance of SessionNotifier.
- #name ⇒ Object
Methods included from SessionEvent
#on_session_close, #on_session_command, #on_session_download, #on_session_filedelete, #on_session_interact, #on_session_open, #on_session_output, #on_session_upload
Methods inherited from Msf::Plugin
#add_console_dispatcher, create, #flush, #input, #output, #print, #print_error, #print_good, #print_line, #print_status, #print_warning, #remove_console_dispatcher
Constructor Details
#initialize(framework, opts) ⇒ SessionNotifier
Returns a new instance of SessionNotifier.
393 394 395 396 |
# File 'plugins/session_notifier.rb', line 393 def initialize(framework, opts) super add_console_dispatcher(SessionNotifierCommandDispatcher) end |
Instance Method Details
#cleanup ⇒ Object
398 399 400 |
# File 'plugins/session_notifier.rb', line 398 def cleanup remove_console_dispatcher(name) end |
#desc ⇒ Object
402 403 404 |
# File 'plugins/session_notifier.rb', line 402 def desc 'This plugin notifies you of a new session via SMS' end |
#name ⇒ Object
389 390 391 |
# File 'plugins/session_notifier.rb', line 389 def name 'SessionNotifier' end |