Skip to content

Commit b494d06

Browse files
committed
fix android/meterpreter/reverse_https
1 parent 9275171 commit b494d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/payload/android.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def generate_config(opts={})
5151
arch: opts[:uuid].arch,
5252
expiration: ds['SessionExpirationTimeout'].to_i,
5353
uuid: opts[:uuid],
54-
transports: [transport_config(opts)]
54+
transports: opts[:transport_config] || [transport_config(opts)]
5555
}
5656

5757
config = Rex::Payloads::Meterpreter::Config.new(config_opts)

0 commit comments

Comments
 (0)