Class: Msf::Plugin::TokenHunter

Inherits:
Msf::Plugin show all
Defined in:
plugins/token_hunter.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) ⇒ TokenHunter

Returns a new instance of TokenHunter.



129
130
131
132
# File 'plugins/token_hunter.rb', line 129

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

Instance Method Details

#cleanupObject



134
135
136
# File 'plugins/token_hunter.rb', line 134

def cleanup
  remove_console_dispatcher('Token Hunter')
end

#descObject



142
143
144
# File 'plugins/token_hunter.rb', line 142

def desc
  'Search all active Meterpreter sessions for specific tokens'
end

#nameObject



138
139
140
# File 'plugins/token_hunter.rb', line 138

def name
  'token_hunter'
end