netindev / scuti Goto Github PK
View Code? Open in Web Editor NEWscuti java obfuscator repository
License: Do What The F*ck You Want To Public License
scuti java obfuscator repository
License: Do What The F*ck You Want To Public License
this.outputStream = new JarOutputStream(new FileOutputStream(this.configuration.getOutput()), null);
JarOutputStream's second parameter cannot be null
.
Cause: https://github.com/netindev/scuti/blob/master/scuti-core/src/main/java/tk/netindev/scuti/core/Scuti.java#L109 & #L116
Assuming you have scuti.jar
and input.jar
in the same directory, you cannot specify subdir/output.jar
if subdir does not exist.
It would be useful if the parent directory of the output.jar
would be automatically generated using File.mkdirs()
[09:43:37] [ERROR] Exception message: Missing class "java/lang/Object", please update your dependencies
[09:43:37] [ERROR] Exiting...
how to fix
Cause:
It would be nice to be able to use control flow without having this class file generated. Instead, an option for using a normal Throwable
would be handy.
Cause:
Same note for the fields.
[10:27:29] [ERROR] Exception message: Missing class "java/lang/Object", please update your dependencies
[10:27:29] [ERROR] Exiting...
how to fix....
[ERROR] Unknown error while executing main thread
org.objectweb.asm.MethodTooLargeException: Method too large: iW. ()V
at org.objectweb.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2084)
at org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:447)
at tk.netindev.scuti.core.Scuti.lambda$4(Scuti.java:183)
at java.util.HashMap$Values.forEach(HashMap.java:981)
at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2062)
at tk.netindev.scuti.core.Scuti.dump(Scuti.java:165)
at tk.netindev.scuti.core.Scuti.access$3(Scuti.java:159)
at tk.netindev.scuti.core.Scuti$Runner.run(Scuti.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[22:15:48] [ERROR] Exception message: Method too large: iW. ()V
Error when trying to obfuscate a tool that I made.
i get:
Corrupting "output.jar"
[17:05:54] [ERROR] Unknown error while executing main thread
java.lang.reflect.InaccessibleObjectException: Unable to make field private java.util.zip.CRC32 java.util.zip.ZipOutputStream.crc accessible: module java.base does not "opens java.util.zip" to unnamed module @28953cb7
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at tk.netindev.scuti.core.util.Util.corruptCRC32(Util.java:64)
at tk.netindev.scuti.core.Scuti.dump(Scuti.java:163)
at tk.netindev.scuti.core.Scuti.access$3(Scuti.java:159)
at tk.netindev.scuti.core.Scuti$Runner.run(Scuti.java:230)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
[17:05:54] [ERROR] Exception message: Unable to make field private java.util.zip.CRC32 java.util.zip.ZipOutputStream.crc accessible: module java.base does not "opens java.util.zip" to unnamed module @28953cb7
[17:05:54] [ERROR] Exiting...
Using the class_key
value with some number that is >= Short.MAX_VALUE
causes
java -cp output.jar Loader
Exception in thread "main" java.lang.ClassFormatError: Incompatible magic value 2510415329 in class file MyApp
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at MyLoader.loadClass(Unknown Source)
at MyLoader.main(Unknown Source)
Illegal keys should be denied. The console should log a message like Cannot use key size out of range [Min, Max]
rename method is broken my jars :(
Exception in thread "main" java.lang.AbstractMethodError: r.a()V
at java.util.ArrayList.forEach(Unknown Source)
at a.a(Unknown Source)
...
Add configuration template
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.