Skip to content

Commit 51e6c13

Browse files
committed
Adjust transport configuration include for x64/reverse_http
Not sure how I missed this, but I did!
1 parent 489afd5 commit 51e6c13

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

lib/msf/core/payload/windows/x64/reverse_http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: binary -*-
22

33
require 'msf/core'
4-
require 'msf/core/transport_config'
4+
require 'msf/core/payload/transport_config'
55
require 'msf/core/payload/windows/x64/block_api'
66
require 'msf/core/payload/windows/x64/exitfunk'
77
require 'msf/core/payload/uuid_options'
@@ -16,7 +16,7 @@ module Msf
1616

1717
module Payload::Windows::ReverseHttp_x64
1818

19-
include Msf::TransportConfig
19+
include Msf::Payload::TransportConfig
2020
include Msf::Payload::Windows
2121
include Msf::Payload::Windows::BlockApi_x64
2222
include Msf::Payload::Windows::Exitfunk_x64

modules/payloads/stagers/windows/x64/bind_tcp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Current source: https://github.com/rapid7/metasploit-framework
44
##
55

6-
76
require 'msf/core'
87
require 'msf/core/handler/bind_tcp'
98
require 'msf/core/payload/windows/x64/bind_tcp'

modules/payloads/stagers/windows/x64/reverse_tcp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Current source: https://github.com/rapid7/metasploit-framework
44
##
55

6-
76
require 'msf/core'
87
require 'msf/core/handler/reverse_tcp'
98
require 'msf/core/payload/windows/x64/reverse_tcp'

modules/payloads/stagers/windows/x64/reverse_winhttp.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ def initialize(info = {})
3131
'Convention' => 'sockrdi http',
3232
'Stager' => { 'Payload' => '' }))
3333
end
34+
3435
end

0 commit comments

Comments
 (0)