Hide this exception until loader.jar is checked in
git-svn-id: file:///home/svn/framework3/trunk@9880 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d388c1bc4f
commit
2ce616fa1a
|
@ -41,7 +41,8 @@ module Metasploit3
|
|||
# Constructs the payload
|
||||
#
|
||||
def generate
|
||||
reverse = File.read(File.join(Msf::Config::InstallRoot, 'data', 'java', 'loader.jar'))
|
||||
reverse = File.read(File.join(Msf::Config::InstallRoot, 'data', 'java', 'loader.jar')) rescue ""
|
||||
|
||||
print_status("Generated loader.jar (#{reverse.length} bytes)")
|
||||
|
||||
return super + reverse
|
||||
|
@ -52,3 +53,4 @@ module Metasploit3
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue