Class: Msf::Plugin::TokenAdduser

Inherits:
Msf::Plugin show all
Defined in:
plugins/token_adduser.rb

Defined Under Namespace

Classes: TokenCommandDispatcher

Instance Attribute Summary

Attributes inherited from Msf::Plugin

#opts

Attributes included from Framework::Offspring

#framework

Instance Method Summary collapse

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

#cleanupObject



97
98
99
# File 'plugins/token_adduser.rb', line 97

def cleanup
  remove_console_dispatcher('Token Adduser')
end

#descObject



105
106
107
# File 'plugins/token_adduser.rb', line 105

def desc
  'Attempt to add an account using all connected Meterpreter session tokens'
end

#nameObject



101
102
103
# File 'plugins/token_adduser.rb', line 101

def name
  'token_adduser'
end