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 Pen-Test
[Top] [All Lists]

Re: Hijacking Java Classes

Subject: Re: Hijacking Java Classes
Date: Thu, 29 Dec 2005 10:05:22 +0000 (GMT)
On Thu, 29 Dec 2005 funkyforumemail@hotmail.com wrote:

I have a java .jar, and would like to write the variables being sent to a 
particular class into a seperate file, then continue to execute the class as 
normal. An example would be a login.class, i would like to intercept the 
username and password going into the class file. The point is that I dont have 
the original source code, and decompiling and recompiling the class is 
difficult. Replacing the class with my own and somehow resume normal execution 
seems to be the best way.

Please help.

Decompiling, editing and recompiling is probably the best way of doing this, and it's probably the most stealthy. In order to override the existing class your class would have to have the same name as the target one, making it difficult to call the original class. You could do this, but your new class would then have to have the functionality of the original; renaming the original is not an option since the package name is defined at compile time AKAIK.


Regards,
Jim Halfpenny

------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner:


Hackers are concentrating their efforts on attacking applications on your website. Up to 75% of cyber attacks are launched on shopping carts, forms, login pages, dynamic content etc. Firewalls, SSL and locked-down servers are futile against web application hacking. Check your website for vulnerabilities to SQL injection, Cross site scripting and other web attacks before hackers do! Download Trial at:

http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------

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