require 'rex/post/meterpreter/extensions/lanattacks/tlv'
require 'rex/post/meterpreter/extensions/lanattacks/command_ids'
require 'rex/post/meterpreter/extensions/lanattacks/dhcp/dhcp'
require 'rex/post/meterpreter/extensions/lanattacks/tftp/tftp'
module Rex
module Post
module Meterpreter
module Extensions
module Lanattacks
class Lanattacks < Extension
def self.extension_id
EXTENSION_ID_LANATTACKS
end
def initialize(client)
super(client, 'lanattacks')
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
end
end; end; end; end; end