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.


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

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

Instance Method Details

#cleanupObject


140
141
142
# File 'plugins/token_hunter.rb', line 140

def cleanup
  remove_console_dispatcher('Token Hunter')
end

#descObject


148
149
150
# File 'plugins/token_hunter.rb', line 148

def desc
  "Search all active meterpreter sessions for specific tokens"
end

#nameObject


144
145
146
# File 'plugins/token_hunter.rb', line 144

def name
  "token_hunter"
end