fix sillyness
parent
eeea4bde9d
commit
d2a9aa18d8
|
@ -309,7 +309,7 @@ module Msf
|
|||
raw_payload = generate_java_payload
|
||||
cli_print "Payload size: #{raw_payload.length} bytes"
|
||||
raw_payload
|
||||
elsif payload.start_with? "android/"
|
||||
elsif payload.start_with? "android/" and not template.blank?
|
||||
cli_print "Using APK template: #{template}"
|
||||
apk_backdoor = ::Msf::Payload::Apk::ApkBackdoor::new()
|
||||
raw_payload = apk_backdoor.backdoor_apk(template, generate_raw_payload)
|
||||
|
|
Loading…
Reference in New Issue