Questions tagged [yguard]

41 questions
0
votes
1 answer

Yguard does not modify my classnames properly (with the obfuscated ones)

I'm trying to obfuscate a JAR file using the yguard 3.0.0 maven plugin. The obfuscated JAR is as almost as expected, it is shrinked and with all the private methods and variables renamed. I need that package names will be renamed too and this is…
Ivan
  • 180
  • 1
  • 2
  • 16
0
votes
1 answer

Problem obfuscating a JAR file using Yguard (com.yworks.yshrink.model.ModelVisitor has interface org.objectweb.asm.ClassVisitor as super class)

I'm trying to obfuscate my generated project JAR file with no success. So I tried to reduce all the steps in order to find out what is going on and I've realized that I cannot use yguard at all and I don't know why. Maybe is an eclipse bad…
Ivan
  • 180
  • 1
  • 2
  • 16
0
votes
2 answers

yguard: Error obfuscating java class Unsupported class file major version 61

I'm switching my project from jdk1.8 to openjdk 17. Code works fine and ANT can generate the executable jar. Using Eclipse IDE. The problem appears when trying to obfuscate with yguard 3.0.0 (through ant). The task is:
Jeancc
  • 84
  • 6
0
votes
1 answer

Obfuscating specific packages in a fat jar (maven project) with yGuard

I'm trying to create an obfuscated fat jar for my tool. After trying proguard, I found yGuard for the same purpose. The following is the steps for obfuscation Step 1: Create fat jar with maven shaded plugin Step 2: The fat jar created in step 1…
kallada
  • 1,829
  • 4
  • 33
  • 64
0
votes
0 answers

Touble when using IntelliGuard2

I have a trouble with using IntelliGuard2 in IntelliJ Idea IDE 2020. When I try to export jar by clicking Build/Obfuscate module I get this error. If anyone can resolve this, please help.
ariane26
  • 163
  • 1
  • 6
  • 25
0
votes
0 answers

yGuard now issues a warning if the package or class or method name of a native method is obfuscated

I am getting these errors due to java native method in yguard: Exception in thread "main" java.lang.NoSuchMethodError Exception in thread “main” java.lang.UnsatisfiedLinkError java.lang.IllegalArgumentException How can I solve this problem?
sanatan
  • 1
  • 1
0
votes
0 answers

Obfuscate Java ant war

I wish to do the code obfuscation for my ant based java application. I have followed the below link and added the mentioned ant script in my build.xml at the end of file . Reference link :…
soundararajan.c
  • 2,538
  • 6
  • 29
  • 51
0
votes
1 answer

Include outside files to receive the libraries renaming?

Using yguard I am obfuscating a project and I would like to know IF it is possible to include files outside the building to receive only the libraries and functions new naming schema ? For example, I am obfuscating the class…
Prix
  • 19,417
  • 15
  • 73
  • 132
0
votes
1 answer

yguard not updating properties file in the jar

I have jar file having some properties files in it like log4j.properties and config.properties. Following is my ant script for yguard. Everything else is working but the properties file updation.
Amit
  • 281
  • 1
  • 6
  • 16
0
votes
1 answer

YGuard does not obfuscate properly two libraries together

I have an eclipse based application which uses YFiles library. I want to obfuscate YFiles & adjust obfuscated classes of YFiles libraries in my code. I am executing this obfuscation via a Maven build triggering an ant script. My ant-script has the…
abhinaw
  • 1
  • 2
0
votes
1 answer

YGuard obfuscate single class, package and exclude libraries

I'm trying to use YGuard to obfuscate some parts of my program which contain encryption methods and other sensitive information (which I'll further protect in other ways once I figure this out). Because the program is quite complex and contains…
dendini
  • 3,842
  • 9
  • 37
  • 74
1 2
3