Class: Msf::Plugin::TokenAdduser
- Inherits:
-
Msf::Plugin
- Object
- Msf::Plugin
- Msf::Plugin::TokenAdduser
- Defined in:
- plugins/token_adduser.rb
Defined Under Namespace
Classes: TokenCommandDispatcher
Instance Attribute Summary
Attributes inherited from Msf::Plugin
Attributes included from Framework::Offspring
Instance Method Summary collapse
- #cleanup ⇒ Object
- #desc ⇒ Object
-
#initialize(framework, opts) ⇒ TokenAdduser
constructor
A new instance of TokenAdduser.
- #name ⇒ Object
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) ⇒ TokenAdduser
Returns a new instance of TokenAdduser.
92 93 94 95 |
# File 'plugins/token_adduser.rb', line 92 def initialize(framework, opts) super add_console_dispatcher(TokenCommandDispatcher) end |
Instance Method Details
#cleanup ⇒ Object
97 98 99 |
# File 'plugins/token_adduser.rb', line 97 def cleanup remove_console_dispatcher('Token Adduser') end |
#desc ⇒ Object
105 106 107 |
# File 'plugins/token_adduser.rb', line 105 def desc 'Attempt to add an account using all connected Meterpreter session tokens' end |
#name ⇒ Object
101 102 103 |
# File 'plugins/token_adduser.rb', line 101 def name 'token_adduser' end |