Remove rescue
git-svn-id: file:///home/svn/framework3/trunk@9886 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8737c7ddfd
commit
a066ebc85b
|
@ -41,7 +41,7 @@ module Metasploit3
|
||||||
# Constructs the payload
|
# Constructs the payload
|
||||||
#
|
#
|
||||||
def generate
|
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)")
|
print_status("Generated loader.jar (#{reverse.length} bytes)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue