Class: Rex::Post::Meterpreter::Extensions::Lanattacks::Lanattacks
- Inherits:
-
Rex::Post::Meterpreter::Extension
- Object
- Rex::Post::Meterpreter::Extension
- Rex::Post::Meterpreter::Extensions::Lanattacks::Lanattacks
- Defined in:
- lib/rex/post/meterpreter/extensions/lanattacks/lanattacks.rb
Overview
This meterpreter extension can currently run DHCP and TFTP servers
Instance Attribute Summary
Attributes inherited from Rex::Post::Meterpreter::Extension
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client) ⇒ Lanattacks
constructor
Initializes an instance of the lanattacks extension.
Constructor Details
#initialize(client) ⇒ Lanattacks
Initializes an instance of the lanattacks extension.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/rex/post/meterpreter/extensions/lanattacks/lanattacks.rb', line 28 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 |
Class Method Details
.extension_id ⇒ Object
21 22 23 |
# File 'lib/rex/post/meterpreter/extensions/lanattacks/lanattacks.rb', line 21 def self.extension_id EXTENSION_ID_LANATTACKS end |