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

27 lines
705 B
Ruby
Raw Normal View History

##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
require 'msf/core/payload/generic'
require 'msf/core/handler/bind_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, 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
end