File tree Expand file tree Collapse file tree 3 files changed +37
-6
lines changed
lib/msf/core/payload/multi Expand file tree Collapse file tree 3 files changed +37
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ module Payload::Multi::ReverseHttps
18
18
include Msf ::Payload ::Multi ::ReverseHttp
19
19
20
20
#
21
- # Generate the first stage
21
+ # Generate the transport-specific configuration
22
22
#
23
- def generate ( opts = { } )
24
- opts [ :ssl ] = true
25
- super ( opts )
23
+ def transport_config ( opts = { } )
24
+ transport_config_reverse_https ( opts )
26
25
end
27
26
28
27
end
Original file line number Diff line number Diff line change
1
+ ##
2
+ # This module requires Metasploit: http://metasploit.com/download
3
+ # Current source: https://github.com/rapid7/metasploit-framework
4
+ ##
5
+
6
+ require 'msf/core'
7
+ require 'msf/core/handler/reverse_https'
8
+ require 'msf/core/payload/multi/reverse_https'
9
+
10
+ module MetasploitModule
11
+
12
+ CachedSize = :dynamic
13
+
14
+ include Msf ::Payload ::Stager
15
+ include Msf ::Payload ::Multi
16
+ include Msf ::Payload ::Multi ::ReverseHttps
17
+
18
+ def initialize ( info = { } )
19
+ super ( merge_info ( info ,
20
+ 'Name' => 'Reverse HTTPS Stager (Mulitple Architectures)' ,
21
+ 'Description' => 'Tunnel communication over HTTPS' ,
22
+ 'Author' => 'OJ Reeves' ,
23
+ 'License' => MSF_LICENSE ,
24
+ 'Platform' => [ 'multi' ] ,
25
+ 'Arch' => ARCH_ALL ,
26
+ 'Handler' => Msf ::Handler ::ReverseHttps ,
27
+ 'Stager' => { 'Payload' => '' } ,
28
+ 'Convention' => 'https'
29
+ ) )
30
+ end
31
+ end
Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ def initialize(info = {})
23
23
'Name' => 'Architecture-Independent Meterpreter Stage' ,
24
24
'Description' => 'Handle Meterpreter sessions regardless of the target arch/platform' ,
25
25
'Author' => [ 'OJ Reeves' ] ,
26
- 'PayloadCompat' => { 'Convention' => 'http' } ,
26
+ 'PayloadCompat' => { 'Convention' => 'http https ' } ,
27
27
'License' => MSF_LICENSE ,
28
28
'Platform' => [ 'multi' ] ,
29
29
'Arch' => ARCH_ALL ,
30
- 'Session' => Msf ::Sessions ::Meterpreter_Multi ) )
30
+ 'Session' => Msf ::Sessions ::Meterpreter_Multi
31
+ ) )
31
32
end
32
33
33
34
def stage_payload ( opts = { } )
You can’t perform that action at this time.
0 commit comments