Files
metasploit-gs/modules/payloads/singles/generic/shell_bind_tcp.rb
T

27 lines
710 B
Ruby
Raw Normal View History

##
2017-07-24 06:26:21 -07:00
# This module requires Metasploit: https://metasploit.com/download
2013-10-15 13:50:46 -05:00
# Current source: https://github.com/rapid7/metasploit-framework
##
2006-08-26 02:13:25 +00:00
require 'msf/core/payload/generic'
require 'msf/core/handler/bind_tcp'
2016-03-08 14:02:44 +01:00
module MetasploitModule
2006-08-26 02:13:25 +00:00
CachedSize = 0
2013-08-30 16:28:54 -05:00
include Msf::Payload::Single
include Msf::Payload::Generic
2006-08-26 02:13:25 +00:00
2013-08-30 16:28:54 -05:00
def initialize(info = {})
super(merge_info(info,
'Name' => 'Generic Command Shell, Bind TCP Inline',
'Description' => 'Listen for a connection and spawn a command shell',
'Author' => 'skape',
'License' => MSF_LICENSE,
'Handler' => Msf::Handler::BindTcp,
'Session' => Msf::Sessions::CommandShell
))
end
2010-02-24 01:19:59 +00:00
end