2009-07-19 20:51:58 +00:00
|
|
|
##
|
2010-02-22 21:05:08 +00:00
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
2009-07-19 20:51:58 +00:00
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
2012-02-21 01:40:50 +00:00
|
|
|
# web site for more information on licensing and terms of use.
|
|
|
|
# http://metasploit.com/
|
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
|
|
|
|
|
|
|
module Metasploit3
|
|
|
|
|
|
|
|
include Msf::Payload::Windows
|
|
|
|
include Msf::Payload::Single
|
2010-02-22 21:05:08 +00:00
|
|
|
include Msf::Sessions::MeterpreterOptions
|
2009-07-19 20:51:58 +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,
|
2009-08-01 04:02:47 +00:00
|
|
|
'Session' => Msf::Sessions::Meterpreter_x86_Win,
|
2009-07-19 20:51:58 +00:00
|
|
|
'Payload' =>
|
|
|
|
{
|
|
|
|
'Offsets' => {},
|
|
|
|
'Payload' => ""
|
|
|
|
}
|
|
|
|
))
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|