class Rex::Post::Meterpreter::Extensions::Lanattacks::Lanattacks
This meterpreter extension can currently run DHCP and TFTP servers
Public Class Methods
new(client)
click to toggle source
Initializes an instance of the lanattacks extension.
Calls superclass method
Rex::Post::Meterpreter::Extension::new
# File lib/rex/post/meterpreter/extensions/lanattacks/lanattacks.rb, line 22 def initialize(client) super(client, 'lanattacks') # Alias the following things on the client object so that they # can be directly referenced client.register_extension_aliases( [ { 'name' => 'lanattacks', 'ext' => ObjectAliases.new( { 'dhcp' => Rex::Post::Meterpreter::Extensions::Lanattacks::Dhcp::Dhcp.new(client), 'tftp' => Rex::Post::Meterpreter::Extensions::Lanattacks::Tftp::Tftp.new(client) }), } ]) end