Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2003

Tip: Looking for answers? Try searching our database.

[Help] me on choosing Java Bytecodes Obfuscator tools

Thread view: 
hoop - 03 Nov 2003 03:18 GMT
Dear folks,

Now I need a Obfuscator tool,and I've used some,like RetroGuard,JAX,etc.

I'd like to listen to your better choice with the reason why,thanks a lot.

hoop
Fu, Ren-Li - 03 Nov 2003 08:13 GMT
> Dear folks,
>
> Now I need a Obfuscator tool,and I've used some,like RetroGuard,JAX,etc.
>
> I'd like to listen to your better choice with the reason why,thanks a lot.

Hi hoop;

I use yGuard. It integrates with netbeans, and it automatically obfuscates
the jar files that netbeans produces - works great! And it's one of the
better obfuscators I've seen. It's very.. interesting.. to see the
obfuscation it produces. It's far more confusing than mere "a b c"
obfuscation.

I could post examples of how I set it up if you like.

-frl
hoop - 04 Nov 2003 12:22 GMT
Thanks a lot for your help :)

I need your examples also.

> > Dear folks,
> >
[quoted text clipped - 13 lines]
>
> -frl
Fu, Ren-Li - 04 Nov 2003 23:25 GMT
You need ant, netbeans, and yguard properly installed. Then,

1. Create this file in your project directory, modifying the filenames where
you need to:
filename: obfuscate.xml
content:
"
<project name="Netwhack" default="obfuscate" basedir=".">
   <description>
       Netwhack build file
   </description>
 <!-- set global properties for this build -->
 <target name="obfuscate">
   <taskdef name="obfuscate"
     classname="com.yworks.yguard.ObfuscatorTask"
     classpath="c:/java/yguard/lib/yguard.jar"/>

   <obfuscate mainclass="Netwhack" logfile="log.xml">
     <inoutpair in="netwhack.jar" out="nw-dist.jar"/>
   </obfuscate>
 </target>
</project>
"

2. Create a task in NetBeans (File > New > Ant build scripts.. ant task or
something)

3. Link this to a button in netbeans (I forget if this is automatic, but you
can look it up in netbeans help) so all you have to do is build your JAR in
netbeans and then click on the button you linked the custom ant task (the
file in #1) to.

-frl


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.