File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
lib/msf/core/payload/android
modules/payloads/stagers/android Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -55,25 +55,6 @@ def stage_meterpreter(opts={})
55
55
( blocks + [ blocks . length ] ) . pack ( 'A*' * blocks . length + 'N' )
56
56
end
57
57
58
- def generate_config ( opts = { } )
59
- opts [ :uuid ] ||= generate_payload_uuid
60
- ds = opts [ :datastore ] || datastore
61
-
62
- # create the configuration block, which for staged connections is really simple.
63
- config_opts = {
64
- ascii_str : true ,
65
- arch : opts [ :uuid ] . arch ,
66
- expiration : ds [ 'SessionExpirationTimeout' ] . to_i ,
67
- uuid : opts [ :uuid ] ,
68
- transports : opts [ :transport_config ] || [ transport_config ( opts ) ]
69
- }
70
-
71
- # create the configuration instance based off the parameters
72
- config = Rex ::Payloads ::Meterpreter ::Config . new ( config_opts )
73
-
74
- # return the XML version of it
75
- config . to_b
76
- end
77
58
end
78
59
end
79
60
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module MetasploitModule
14
14
15
15
include Msf ::Payload ::Stager
16
16
include Msf ::Payload ::Android
17
- include Msf ::Payload ::Android ::ReverseHttp
17
+ include Msf ::Payload ::Android ::ReverseHttps
18
18
19
19
def initialize ( info = { } )
20
20
super ( merge_info ( info ,
You can’t perform that action at this time.
0 commit comments