Add transport configuration to reverse_http/s

bug/bundler_fix
OJ 2015-05-08 18:32:48 +10:00
parent 5111abdd09
commit ba3266803a
2 changed files with 16 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# -*- coding: binary -*-
require 'msf/core'
require 'msf/core/transport_config'
require 'msf/core/payload/windows/block_api'
require 'msf/core/payload/windows/exitfunk'
require 'msf/core/payload/uuid_options'
@ -17,6 +18,7 @@ module Msf
module Payload::Windows::ReverseHttp
include Msf::TransportConfig
include Msf::Payload::Windows
include Msf::Payload::Windows::BlockApi
include Msf::Payload::Windows::Exitfunk
@ -85,6 +87,13 @@ module Payload::Windows::ReverseHttp
Metasm::Shellcode.assemble(Metasm::X86.new, combined_asm).encode_string
end
#
# Generate the transport-specific configuration
#
def transport_config(opts={})
transport_config_reverse_https(opts)
end
#
# Generate the URI for the initial stager
#

View File

@ -64,6 +64,13 @@ module Payload::Windows::ReverseHttps
generate_reverse_https(conf)
end
#
# Generate the transport-specific configuration
#
def transport_config(opts={})
transport_config_reverse_https(opts)
end
end
end