2009-08-01 03:48:45 +00:00
|
|
|
##
|
2013-10-15 18:50:46 +00:00
|
|
|
# This module requires Metasploit: http//metasploit.com/download
|
|
|
|
# Current source: https://github.com/rapid7/metasploit-framework
|
2009-08-01 03:48:45 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/handler/bind_tcp'
|
|
|
|
require 'msf/base/sessions/meterpreter_x86_linux'
|
2010-02-22 21:05:08 +00:00
|
|
|
require 'msf/base/sessions/meterpreter_options'
|
2009-08-01 03:48:45 +00:00
|
|
|
|
|
|
|
module Metasploit3
|
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
include Msf::Payload::Linux
|
|
|
|
include Msf::Payload::Single
|
|
|
|
include Msf::Sessions::MeterpreterOptions
|
2009-08-01 03:48:45 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
def initialize(info = {})
|
|
|
|
super(merge_info(info,
|
|
|
|
'Name' => 'Linux Meterpreter Service, Bind TCP',
|
|
|
|
'Description' => 'Stub payload for interacting with a Meterpreter Service',
|
|
|
|
'Author' => 'hdm',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Platform' => 'linux',
|
|
|
|
'Arch' => ARCH_X86,
|
|
|
|
'Handler' => Msf::Handler::BindTcp,
|
|
|
|
'Session' => Msf::Sessions::Meterpreter_x86_Linux,
|
|
|
|
'Payload' =>
|
|
|
|
{
|
|
|
|
'Offsets' => {},
|
|
|
|
'Payload' => ""
|
|
|
|
}
|
|
|
|
))
|
|
|
|
end
|
2009-08-01 03:48:45 +00:00
|
|
|
|
|
|
|
end
|