2007-02-18 00:10:39 +00:00
|
|
|
##
|
2014-10-17 16:47:33 +00:00
|
|
|
# This module requires Metasploit: http://metasploit.com/download
|
2013-10-15 18:50:46 +00:00
|
|
|
# Current source: https://github.com/rapid7/metasploit-framework
|
2007-02-18 00:10:39 +00:00
|
|
|
##
|
|
|
|
|
2006-08-26 02:13:25 +00:00
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/payload/generic'
|
|
|
|
require 'msf/core/handler/bind_tcp'
|
|
|
|
|
2008-10-02 05:23:59 +00:00
|
|
|
module Metasploit3
|
2006-08-26 02:13:25 +00:00
|
|
|
|
2015-03-09 20:31:04 +00:00
|
|
|
CachedSize = 0
|
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
include Msf::Payload::Single
|
|
|
|
include Msf::Payload::Generic
|
2006-08-26 02:13:25 +00:00
|
|
|
|
2013-08-30 21:28:54 +00: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
|
2006-08-26 02:13:25 +00:00
|
|
|
|
2010-02-24 01:19:59 +00:00
|
|
|
end
|