Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

JAVA Classes - Recompilation condition errors!!

Subject: JAVA Classes - Recompilation condition errors!!
Date: Fri, 3 Dec 2004 11:00:44 +0200
Hi Pen-Testers

I am performing a code injection into JAVA classes. I am working with
the Java Object Inspector Tool (COMPASS). I injected the desirable code
in order to inspect JAVA objects. However, when I am trying to recompile
the classes then the following errors are occurred. I have already
checked all the "imports" for the right paths and all seems to be
correct.

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:89: ';' expected

JVM INSTR monitorenter ;

^

C:\Documents and

Settings\Administrator\Desktop\HackClasses\*****.java:112:not a
statement

class1;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:113:

';' expected

JVM INSTR monitorexit ;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:116: not a
statement exception;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:87: u ndefined
label: MISSING_BLOCK_LABEL_247

break MISSING_BLOCK_LABEL_247;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:89: c annot
resolve symbol symbol : class JVM

location: class com.edi.commerce.********

JVM INSTR monitorenter ;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:91: u ndefined
label: MISSING_BLOCK_LABEL_237

break MISSING_BLOCK_LABEL_237;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:113:cannot resolve
symbol

symbol : class JVM

location: class com.edi.commerce.*********

JVM INSTR monitorexit ;

^

C:\Documents and
Settings\Administrator\Desktop\HackClasses\*****.java:114:

undefined label: MISSING_BLOCK_LABEL_247

break MISSING_BLOCK_LABEL_247;

^

However, the recompilation was succeeded by comment out the lines in the
source code (Decompile Java Classes).

 //if(_type !=3D null) 

// break MISSING_BLOCK_LABEL_247; 

//Class class1 =3D org.omg.CORBA.TypeCode.class; 

//JVM INSTR monitorenter; 

//if(_type !=3D null)

// break MISSING_BLOCK_LABEL_237;

//class1;

//JVM INSTR monitorexit;

//break MISSING_BLOCK_LABEL_247;

Is this a big problem? If it is what can I do in order to avoid these
errors?

Thank you for your time.



******************************************************************
Any views expressed in this message are those of the
individual sender, except where the sender specifically
states them to be the views of ENCODE S.A.
******************************************************************


<Prev in Thread] Current Thread [Next in Thread>