2009-07-19 20:51:58 +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
|
2009-07-19 20:51:58 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
require 'msf/core/handler/reverse_tcp'
|
2009-08-01 04:02:47 +00:00
|
|
|
require 'msf/base/sessions/meterpreter_x86_win'
|
2010-02-22 21:05:08 +00:00
|
|
|
require 'msf/base/sessions/meterpreter_options'
|
2009-07-19 20:51:58 +00:00
|
|
|
|
2016-03-08 13:02:44 +00:00
|
|
|
module MetasploitModule
|
2009-07-19 20:51:58 +00:00
|
|
|
|
2015-03-09 20:31:04 +00:00
|
|
|
CachedSize = 0
|
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
include Msf::Payload::Windows
|
|
|
|
include Msf::Payload::Single
|
|
|
|
include Msf::Sessions::MeterpreterOptions
|
2009-07-19 20:51:58 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
def initialize(info = {})
|
|
|
|
super(merge_info(info,
|
|
|
|
'Name' => 'Windows Meterpreter Service, Reverse TCP Inline',
|
|
|
|
'Description' => 'Stub payload for interacting with a Meterpreter Service',
|
|
|
|
'Author' => 'hdm',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Platform' => 'win',
|
|
|
|
'Arch' => ARCH_X86,
|
|
|
|
'Handler' => Msf::Handler::ReverseTcp,
|
|
|
|
'Session' => Msf::Sessions::Meterpreter_x86_Win,
|
|
|
|
'Payload' =>
|
|
|
|
{
|
|
|
|
'Offsets' => {},
|
|
|
|
'Payload' => ""
|
|
|
|
}
|
|
|
|
))
|
|
|
|
end
|
2009-07-19 20:51:58 +00:00
|
|
|
|
|
|
|
end
|