Detecting debug mode in java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, November 10, 2005 12:50 AM

Hi

Does anyone have a method of detecting whether I am being actively debugged in java? I need to do this for a security component I am putting together. It would be nice if the detection method was subtle (to avoid the person I am trying to detect detecting that i'm trying to detect them!) but I will take anything at the moment.

Thanks

Re: Detecting debug mode in java

Posted By:   WarnerJan_Veldhuis  
Posted On:   Thursday, November 10, 2005 03:35 AM

Obfuscate your code (yGuard for example), that will also remove debugging info that is generated by the compiler.... In the strongest obfuscation mode, it will generate classes that will run in the JVM, but when decompiled, will generate broken code... More on yGuard here
About | Sitemap | Contact