diff --git a/modules/payloads/stagers/java/reverse_tcp.rb b/modules/payloads/stagers/java/reverse_tcp.rb index 96dd29095c..404a8997a1 100644 --- a/modules/payloads/stagers/java/reverse_tcp.rb +++ b/modules/payloads/stagers/java/reverse_tcp.rb @@ -41,7 +41,7 @@ module Metasploit3 # Constructs the payload # def generate - reverse = File.read(File.join(Msf::Config::InstallRoot, 'data', 'java', 'loader.jar')) rescue "" + reverse = File.read(File.join(Msf::Config::InstallRoot, 'data', 'java', 'loader.jar')) print_status("Generated loader.jar (#{reverse.length} bytes)")