add better error reporting

git-svn-id: file:///home/svn/framework3/trunk@11120 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-11-24 01:11:49 +00:00
parent c152900db6
commit 1d8e1e332c
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ class Metasploit3 < Msf::Exploit::Remote
if not @jvm_init if not @jvm_init
print_error print_error
print_error "JVM not initialized. You must install the Java Development Kit, the rjb ruby gem, and set the $JAVA_HOME variable." print_error "The JDK failed to initialized: #{@java_error}"
print_error "In order to dynamically sign the applet, you must install the Java Development Kit, the rjb gem, and set the JAVA_HOME environment variable."
print_error
print_error "Falling back to static signed applet. This exploit will still work, but the CERTCN and APPLETNAME variables will be ignored." print_error "Falling back to static signed applet. This exploit will still work, but the CERTCN and APPLETNAME variables will be ignored."
print_error print_error
@use_static = true @use_static = true