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.


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

def initialize(framework, opts)
  super
  add_console_dispatcher(TokenCommandDispatcher)
end

Instance Method Details

#cleanupObject


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

def cleanup
  remove_console_dispatcher('Token Adduser')
end

#descObject


113
114
115
# File 'plugins/token_adduser.rb', line 113

def desc
  "Attempt to add an account using all connected meterpreter session tokens"
end

#nameObject


109
110
111
# File 'plugins/token_adduser.rb', line 109

def name
  "token_adduser"
end