Sha256: c31a70d72d9c821b58c77bb82f72334eedd8285420e4547f817b8fba30e08485

Contents?: true

Size: 866 Bytes

Versions: 15

Compression:

Stored size: 866 Bytes

Contents

# -*- coding: binary -*-
require 'rex/post/meterpreter'

module Rex
module Post
module Meterpreter
module Ui

###
#
# Lanattacks extension.
#
###
class Console::CommandDispatcher::Lanattacks

  require 'rex/post/meterpreter/ui/console/command_dispatcher/lanattacks/dhcp'
  require 'rex/post/meterpreter/ui/console/command_dispatcher/lanattacks/tftp'

  Klass = Console::CommandDispatcher::Lanattacks

  Dispatchers =
    [
      Klass::Dhcp,
      Klass::Tftp
    ]

  include Console::CommandDispatcher

  #
  # Initializes an instance of the lanattacks command interaction.
  #
  def initialize(shell)
    super

    Dispatchers.each { |d|
      shell.enstack_dispatcher(d)
    }
  end

  #
  # List of supported commands.
  #
  def commands
    {
    }
  end

  #
  # Name for this dispatcher
  #
  def name
    "Lanattacks extension"
  end

end

end
end
end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.12 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.11 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.10 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.9 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.8 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.7 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.5 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.4 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
dstruct-0.0.1 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.3 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
librex-0.0.999 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
rex-2.0.2 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
librex-0.0.71 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb
librex-0.0.70 lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks.rb