[Jode-users] JODE Obfuscator
Brought to you by:
hoenicke
|
From: Zaheer B. <bz...@ya...> - 2006-01-27 19:48:13
|
Hello,
I have been trying to make the JODE Obfuscator work,
but failed again and agian.
Here is the situation:
This is where my java.jar file is ==> C:\JODEexample
Structure of java.jar =>
java.jar -> java(folder)->file(folder) ->
test.java
Here is the contents of the .jos file:
classpath = "C:\\Program
Files\\Java\\jre1.5.0_06\\lib\\rt.jar","C:\\JODEexample"
dest = "obfuscated.zip"
revtable = "translat.tbl"
strip = "unreach","lvt","inner"
load = new WildCard { value = "java.classes*" },
new WildCard { value = "java.file" }
preserve = new WildCard { value = "java.file.main.*" }
renamer = new StrongRenamer {
charsetStart =
"aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ"
charsetPart =
"aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789_$"
charsetPackage = "abcdefghijklmnopqrstuvwxyz"
charsetClass = "abcdefghijklmnopqrstuvwxyz"
}
I have a batch file as well:
set classpath=C:\JODEexample\jode.jar
java jode.obfuscator.Main obf.jos
But when I run the batch file, the error I get is:
Jode (c) 1998-2001 Jochen Hoenicke <jo...@gn...>
used before: 238720
Loading and preserving classes
Time used: 2684
Computing reachability
Time used: 0
used after analyze: 2144552
Renaming methods
Time used: 40
Transforming the classes
Time used: 0
used after transform: 2111728
Writing new classes
Can't write zip file: obfuscated.zip
java.util.zip.ZipException: ZIP file must have at
least one entry
at
java.util.zip.ZipOutputStream.finish(Unknown Source)
at
java.util.zip.DeflaterOutputStream.close(Unknown
Source)
at java.util.zip.ZipOutputStream.close(Unknown
Source)
at
jode.obfuscator.ClassBundle.storeClasses(ClassBundle.java:431)
at
jode.obfuscator.ClassBundle.run(ClassBundle.java:541)
at jode.obfuscator.Main.main(Main.java:189)
Time used: 140
Basically, It does not write anything to the .zip file
and I am totally lost to why it is not working.
Your help is very appreciated.
I have a project presenation on JODE,so if you could
please solve this problem, that would be great.
Thank you in Advance.
Zaheer
**************************************************************************
Freedom is just Chaos, with better lighting.
The cowards never start and the weak die along the way.
Seek not happiness too greedily, and be not fearful of happiness.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|