fix sillyness

bug/bundler_fix
Tim 2015-12-22 16:06:01 +00:00
parent eeea4bde9d
commit d2a9aa18d8
1 changed files with 1 additions and 1 deletions

View File

@ -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)