Giter VIP home page Giter VIP logo

radon's Introduction

Hello, I am Chris

I am a mathematics major and generate spaghetti code. I sometimes play CTF with redpwn and DiceGang.

radon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radon's Issues

Can't obfuscate a Hello World project with the InvokeDynamic and the StringsEncryption transformers

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)

  • I downloaded v1.0.2 but the GUI title is v1.0.1
    What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
  • Standalone
    What transformers did you use which caused an error?
  • Strings encryption
  • InvokeDynamic

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)

  • I really don't know, my JAR file is a simple Hello World project - can this be strings & InvokeDynamic obfuscated

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)

Any other information? (i.e. You combined Radon with other obfuscators)

  • I think that you've fixed those errors because someone opened the same issue ( Issue #31 ) - but the files are still v1.0.1 and not v1.0.2

GUI

How soon will you add a GUI to Radon?
I understand what I am writing off topic

Feature Request: Inclusion

Hi, first of all I'd like to say thanks for the great project.

Secondly, Is it possible to do the inverse of the Exclusion config?
I have a fat jar with around 30 open-source libraries in it, but we only want to protect our own proprietary code. Is it possible to only run Radon on our own classes?

Renamer can break Jar Manifest

Radon version: 0.8.2
Transformers: Renamer

If there's a class called "Main", the renamer changes "Main-Class:" in the Manifest file to whatever the class was renamed to, for example "8X3Z-Class:" which breaks the Jar.

It doesn't matter if it's upper- or lowercase and probably (didn't test) also happens for other names like "Manifest", "Version", "Class" or in case of a Spigot Plugin "Description", "Author", "Website" etc.

renamer suggestion

Could you add name map file as renamer output ? This information should be needed in exception or debug . Thank you for "Radon" the greate job!

java.lang.ArrayIndexOutOfBoundsException

0.6.1

bouncycastle , a crypto library. bcprov-jdk15on-153.jar

Radon the issue.

https://pastebin.com/7cayzQ5W

in "- Writing classes to output".

My log in 665 line of Frame.java : inputStack.length=0, value=1
I try to repair it ,but I find some others error in Frames.java like "NegativeArraySizeException , ArrayIndexOutOfBoundsException: -1 , NullPointerException".

Breaks SpringBoot application

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.4

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone

What transformers did you use which caused an error?

  • only Flow Obfuscation

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
the jar Radon obfuscated
Jar: https://www.dropbox.com/s/xsnk46n151zoh8u/hello-capsule.jar

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
No error in Radon logs

[12/07/2018-12:52:08] INFO: Loading library "/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/rt.jar".
[12/07/2018-12:52:08] INFO: Loading library "/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jce.jar".
[12/07/2018-12:52:08] INFO: Loading input "/Users/jatin/Code/gs-spring-boot/initial/hello/target/output/hello.jar".
[12/07/2018-12:52:08] INFO: ------------------------------------------------
[12/07/2018-12:52:08] INFO: Running Light flow obfuscation transformer.
[12/07/2018-12:52:08] INFO: Added 14 fake throw-null sequences
[12/07/2018-12:52:08] INFO: Finished running Light flow obfuscation transformer. [2ms]
[12/07/2018-12:52:08] INFO: ------------------------------------------------
[12/07/2018-12:52:08] INFO: Writing output to "/Users/jatin/Code/gs-spring-boot/initial/hello/target/output/hello.jar".
[12/07/2018-12:52:08] INFO: Output file already exists, renamed to /Users/jatin/Code/gs-spring-boot/initial/hello/target/output/hello.jar.BACKUP-1.

Any other information? (i.e. You combined Radon with other obfuscators)

Steps I took

# unarchive the capsue jar
jar xf hello-capsule.jar

rm hello-capsule.jar

# obfuscate hello.jar using radon-gui

# archive again with obfuscated hello.jar
jar -cvfm hello-capsule-obf.jar META-INF/MANIFEST.MF *;

Expected
When I run the jar

java -jar hello-capsule-obf.jar

and go to localhost:8080, I see a message.

Actual
I get a 404

Possible Issue?
When I run unobfuscated jar I see this in logs

2018-12-07 12:32:42.532  INFO 15107 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@55a561cf: startup date [Fri Dec 07 12:32:37 IST 2018]; root of context hierarchy
2018-12-07 12:32:42.748  INFO 15107 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/]}" onto public java.lang.String hello.jatin.HelloController.index() throws java.lang.RuntimeException,com.fasterxml.jackson.core.JsonProcessingException

but when I run obfuscated jar, I only see this

2018-12-07 12:52:45.049  INFO 15959 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@61d47554: startup date [Fri Dec 07 12:52:43 IST 2018]; root of context hierarchy

Some issue with locating right annotation?

Update:
Even if I uncheck all obfuscation options in the GUI, it breaks. However, if I just unarchive, and then archive again (skipping the obfuscation step), it works - so seems like something obfuscator is doing.

Create JUnit test cases to ensure transformers perform as expected

You can probably prevent a lot of future issue reports by creating some test-cases and checking them regularly. Perhaps a format like this (pseudo-code) would work:

void stringsLight() {
    // create radon instance
    CLI cli = // ...
    cli.addTransformer(new StringsLight());
    cli.obfuscate("test-cases.jar", "test-cases-obf.jar");
    // run the obfuscated jar
    Process p = Runtime.exec("java -cp test-cases-obf.jar sample.SomeClass");
    Stream s = p.getOutputStream();
    String s = toString(s);
    // clean-up
    Files.delete("test-cases.obf");
    // print stack-trace if it exists
    if (s.contains("exception")) {
         print(s); 
    }
    // validate results with JUnit
    assertEquals(s, "Hello world, this is the expected output of System.out calls"));
}

In this single test case, the CLI obfuscated some sample jar file and then executes the output. If everything works well the output should be match the expected value. Otherwise the output should be a good'ol stacktrace. You can easily abstract away all of this and have each case method only specify the transformer settings & the expected output.

But what would test-cases.jar contain? It should be something that involves a little-bit of everything as long as it is all console-based and does not require user input. I made a jar that has a bunch of cases that can be tested this way (with the exception of one). I tested Radon 1.0.3 on it and went through each obfuscation feature one-by-one and I everything functioned as intended. This would just automate that process.

Flow: Normal Obfuscation Creates Issues

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)

What kind of Jar file did you obfuscate?
A spigot anticheat.

What transformers did you use which caused an error?

  • Flow: Normal

Is Radon the issue or the jar Radon obfuscated the issue?
The jar Radon obfuscated. The Flow obfuscation set to Normal screws up some of my checks, but once set back to Light it fixes it. It looks like it causes some latency, or isn't boding well with my multithreaded events.

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
None

Any other information? (i.e. You combined Radon with other obfuscators)
None.

Light String Encryption caching system flaw

String Encryption in Light mode produces decryptor with simple caching system: before actual decrypting it looks up for already decrypted string in his own HashMap using encrypted string as a key, but this system has a little flaw: two different strings may be encrypted in the same result string using different keys, for example:

10 or \u000a ^ 28502 = 28508 or \u6f5c
70 or \u0046 ^ 28442 = 28508 or \u6f5c

, so string that was decrypted first will take place in cache and be returned every time, when decryptor will be asked about \u6f5c.

Don't blame me for storing single characters as strings, it can happen with any string! :)

I'm using self-compiled Radon (master, 37baffb) with standalone .jar file and only String Encryption transformer in Light mode.

VerifyError after union catch statement processing

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
0.6.1

What kind of Jar file did you obfuscate?
Java application

What transformers did you use which caused an error?
No transformers enabled

Is Radon the issue or the jar Radon obfuscated the issue?

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://hastebin.com/leweranexe.php
There is try{}catch(Exception e){} in this method

Any other information? (i.e. You combined Radon with other obfuscators)
Used after proguard (Only renaming done, dontshrink, dontoptimize, target: '8')

To json

This is idea... Move configs to json, because via gson you can easy deserialize/serialize it.

Package names

This is not important, but you could add a feature to specify the package name where all the obfuscated classes should be moved to, instead of just moving everything to the default package.

Also, I noticed that some classes are moved directly to the default package and some are moved to random packages with only a single class in it. I don't really understand the reason of this, does this improve the obfuscation?

Catching Throwables

I noticed that you really often use catch (Throwable t) in your code, it's really bad practice to do that. You should be as specific with catch clauses as possible. Throwable will not only catch all exceptions (only RuntimeExceptions should be caught at all), but what's even worse, it will also catch Errors, which should never happen.

At first I assumed you were just lazy, but then I noticed that you also catch Throwables at blocks without any exceptions at all. So my questions is, why are you doing this?

Keep Class

I want a Keep Class function!
You can added?
I like your Obfuscator

Obfuscation error

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed) i could use the recent or the oldest the error still occurs in all the versions

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Minecraft forge mod

What transformers did you use which caused an error?
it doesn't matter if i use a transformer or not it still occurs

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar) it's a very private project i don't feel like giving the jar but i can give you any information regarding it... i know that the error only occurs with mods that use darkstormapi mods that dont use darkstormapi can be obfuscated just fine.

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here) https://pastebin.com/aAkBvxMM

Any other information? (i.e. You combined Radon with other obfuscators)
never combined anything. this only happens with mods that use darkstormapi.. thing i find weird is that my friend is able to obfuscate his project which uses darkstorm but i'm not able to do so.. and he doesn't seem to know why

Crasher transformer

because of way crasher works, it sometimes causes a signature read error when you run program. (i.e. samczsun's helios tool)

Missing class exception

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed) latest release

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin): Minecraft Server Jar

What transformers did you use which caused an error?
None selected or any of them selected

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar) Radon is the issue

What is the error produced?
PasteBin
With no Gui: PasteBin2

Any other information? (i.e. You combined Radon with other obfuscators) No I only added the dependecies and tried to do a simple String encription. Then the error came and since it was weird I tested with others and with none and the error was still appearing

BuildHierarchy failed (NPE)

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.2

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone

What transformers did you use which caused an error?
Doesn't matter, it also crashes with and without any transformers

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
Radon itself

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://pastebin.com/JKfLeCFA

Any other information? (i.e. You combined Radon with other obfuscators)
I'm using Java 10. The needed rt.jar was generated with jft-extractor on GitHub.

An Error Happened

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.0
What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone
What transformers did you use which caused an error?

  • Renaming.

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
java.lang.NullPointerException

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)

Any other information? (i.e. You combined Radon with other obfuscators)
turn on the renaming,load my jar radon 1.0.0 told me
image

A simple small trick that could destory lots of Decompilers

Set Class & Package Name to Some format like
../../../../../../../test'\u0000'.class
This is Famous as Zip Slip trick.
You can see here:
https://github.com/snyk/zip-slip-vulnerability

Date Time Attr Size Compressed Name


2019-01-15 20:01:29 ..... 19 19 res.test
2019-01-15 20:01:29 ..... 20 20 ................................................................................\hello\test.java


2019-01-15 20:01:29 39 39 2 files
Result:
Console > Hello World!

And the Other is Encoding trick like this one:

See the cheat client this guy had uploaded:
java-deobfuscator/deobfuscator#358

JbyteMod will failed to load
http://prntscr.com/mg9g6h

Watermarker

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
Radon 1.0.4

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone Jar

What transformers did you use which caused an error?

  • Transformer1
  • Transformer2
  • Transformer3
  • etc.
    Watermarker transformer cause the problem. When I disable the watermarker, there is no error

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
[java] [12/26/2018-01:03:15] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:15] INFO: Running Renamer transformer.
[java] [12/26/2018-01:03:15] INFO: Generating mappings.
[java] [12/26/2018-01:03:22] INFO: Finished generated mappings. [6837ms]
[java] [12/26/2018-01:03:22] INFO: Applying mappings.
[java] [12/26/2018-01:03:22] INFO: Mapped 1632 members. [137ms]
[java] [12/26/2018-01:03:22] INFO: Attempting to map class names in resources
[java] [12/26/2018-01:03:22] INFO: Mapped 1 names in resources. [16ms]
[java] [12/26/2018-01:03:22] INFO: Dumping mappings.
[java] [12/26/2018-01:03:22] INFO: Finished dumping mappings at C:\code\vpnx4.0\mappings.txt. [22ms]
[java] [12/26/2018-01:03:22] INFO: Finished running Renamer transformer. [7014ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Heavy number obfuscation transformer.
[java] [12/26/2018-01:03:22] INFO: Obfuscated 19566 numbers.
[java] [12/26/2018-01:03:22] INFO: Finished running Heavy number obfuscation transformer. [72ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Heavy string encryption transformer.
[java] [12/26/2018-01:03:22] INFO: Encrypted 13816 strings.
[java] [12/26/2018-01:03:22] INFO: Finished running Heavy string encryption transformer. [87ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Heavy flow obfuscation transformer.
[java] [12/26/2018-01:03:22] INFO: Added 144853 fake jump sequences
[java] [12/26/2018-01:03:22] INFO: Finished running Heavy flow obfuscation transformer. [190ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Member Shuffler transformer.
[java] [12/26/2018-01:03:22] INFO: Shuffled 22229 members.
[java] [12/26/2018-01:03:22] INFO: Finished running Member Shuffler transformer. [5ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Local variables transformer.
[java] [12/26/2018-01:03:22] INFO: Removed 22118 local variables.
[java] [12/26/2018-01:03:22] INFO: Finished running Local variables transformer. [8ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Line numbers transformer.
[java] [12/26/2018-01:03:22] INFO: Removed 64281 line numbers.
[java] [12/26/2018-01:03:22] INFO: Finished running Line numbers transformer. [31ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Source name transformer.
[java] [12/26/2018-01:03:22] INFO: Removed 1644 source name attributes.
[java] [12/26/2018-01:03:22] INFO: Finished running Source name transformer. [2ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Source debug transformer.
[java] [12/26/2018-01:03:22] INFO: Removed 1644 source debug attributes.
[java] [12/26/2018-01:03:22] INFO: Finished running Source debug transformer. [3ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Crasher transformer.
[java] [12/26/2018-01:03:22] INFO: Finished running Crasher transformer. [1ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Hide code transformer.
[java] [12/26/2018-01:03:22] INFO: Hid 22620 members.
[java] [12/26/2018-01:03:22] INFO: Finished running Hide code transformer. [11ms]
[java] [12/26/2018-01:03:22] INFO: ------------------------------------------------
[java] [12/26/2018-01:03:22] INFO: Running Watermarker transformer.
[java] Exception in thread "main" java.lang.IllegalArgumentException: bound must be greater than origin
[java] at java.util.concurrent.ThreadLocalRandom.nextInt(ThreadLocalRandom.java:378)
[java] at me.itzsomebody.radon.utils.RandomUtils.getRandomInt(RandomUtils.java:39)
[java] at me.itzsomebody.radon.transformers.miscellaneous.watermarker.Watermarker.transform(Watermarker.java:53)
[java] at me.itzsomebody.radon.Radon.lambda$executeTransformers$3(Radon.java:275)
[java] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
[java] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
[java] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
[java] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
[java] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[java] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
[java] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
[java] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[java] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
[java] at me.itzsomebody.radon.Radon.executeTransformers(Radon.java:271)
[java] at me.itzsomebody.radon.Radon.partyTime(Radon.java:75)
[java] at me.itzsomebody.radon.CLI.startTheParty(CLI.java:78)
[java] at me.itzsomebody.radon.CLI.(CLI.java:47)
[java] at me.itzsomebody.radon.Main.main(Main.java:57)
[java] Java Result: 1

Any other information? (i.e. You combined Radon with other obfuscators)
Can you give some examples, to tell how to use the watermarker. :)

JRE 9 & 10 compatibility

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
Radon 0.8.2

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone

What transformers did you use which caused an error?

  • Transformer1
  • Transformer2
  • Transformer3
  • etc.
    Renamer

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
The jar

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://hastebin.com/ihidumibeh.rb
Any other information? (i.e. You combined Radon with other obfuscators)
From java 9 forwards rt.jar does no longer exist, causing radon to not be able to rename for some reason.

Download for jar:
https://mega.nz/#!6VIkUCAQ!6N95kk49d-Gzw6zZCr3nd5Ms7YTWGyXWfNgxSC4H2lk

Some feature is very weak

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
v0.8.2

I use today and decompile obfuscate jar with jadx but its so weak some feature like hide code, number obfuscation, crasher jadx easily deobfuscate,
You can make it even more secure.

Exclusions function doesn't work

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed) latest release

Exclusions function doesn't work.
Added class is edited anyway

Exclusions:
- "Global: me.exas.test.Addon"

Issue

Version: 0.8.2

Spigot Fork

Transformers:
-Hide Code (But happens w/ everything)

The jar radon obfuscated.

https://hastebin.com/edotuguwem.css (The errors are on line 3 & 5. Line 4 is normal.)

This simply breaks the console in spigot. Unsure why this happens with every transformer I use.

Some of the obfuscation options break testing project

Radon version: 1.0.2

I wanted to test Radon, and found this: https://github.com/JoachimVandersmissen/TestingProject It's a project that's specifically designed for testing obfuscators by using many different bytecode features. When trying to use Radon to obfuscate it, it breaks sometimes.

The transformers which don't work according to my testing:

  • String Encryption - Normal
  • Pool Strings
  • Renaming (I put "META-INF/MANIFEST.MF" in adapt resources, and it properly changed the file, so that's not the problem)
  • Flow Obfuscation - Light

Not obfuscating method parameters

Description of Bug: A methods parameter name isn't being renamed with renamer, example public void example(Test thisIsentGettingObfuscated){}

Expected behavior: public void example(Test randomName){}

Radon version: Master, might want to fix it for later

Configuration: Provide the FULL configuration used to produce
the error. If privacy is desired, the configuration can be privately DM'd to
ItzSomebody#9663 on Discord., there just an input, an output, libraries, NO EXCLUSIONs(i say that because in previous versions exclusions would cause this bug), and i have this
"renamer": { "adapt_these_resources": [], "repackage_name": "test" }

Relevant errors: nothing

Screenshots:

Reproduction steps:
run the master with
"renamer": { "adapt_these_resources": [], "repackage_name": "test" }

HELP ME (Need A Quick Fix Lol)

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
Radon 0.8.2

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Minecraft Client

What transformers did you use which caused an error?

  • heavy flow obfuscation transformer

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
it is with radon I fixed my bugs and even tried to conform to radon

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
Here Is The Pastebin https://pastebin.com/NexwP57a

Any other information? (i.e. You combined Radon with other obfuscators)
No, I Did not Combine Lol Doing That Breaks Stuff Normally Also From What I Have Seen When the flow setting is set to light it is fine just when it goes higher it breaks

Questions

Hi,
I'm trying to use Radon in version 1.0.1 and I'm interested in these things. I will use it mainly for classic jar files (standalone) in Java SE 10 and later on 11

  1. Is it possible to only obfuscate a specific package? E.g. only my package "my.app.nextname"

  2. Would you be able to add a checkbox to skip a comment in the JAR archive? When I send someone an obfuscate application and he sees what he was obfuscated, it would only reduce security

  3. Can you add descriptions for different methods/inputs in the GUI? E.g. what is it doing and preview the code before and after?

Thx

MissingClassException

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.4
What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Standalone
What transformers did you use which caused an error?

  • MissingClassException

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
Radon
What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://pastebin.com/Sjn2rG79
Any other information? (i.e. You combined Radon with other obfuscators)
The application on is written on JavaFX.

UTF8 string too large !

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.4

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
library for android

What transformers did you use which caused an error?

  • StringEncryption

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
radon issue

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://pastebin.com/GZxCx4Vx

Any other information? (i.e. You combined Radon with other obfuscators)
Failed to obfuscate long string

Renamer Issue affects all other Exempts

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed) Happens on all versions currently.

What kind of Jar file did you obfuscate? (Android/Standalone/Plugin) Doesn't matter.

What transformers did you use which caused an error?

  • Renamer
  • Put random transformer here

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar) Radon

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here) N/A

Any other information? (i.e. You combined Radon with other obfuscators) When the Renamer transformer is used, it also removes the information used in exempting classes/methods/fields for other classes.

ByteToMessageDecoder is missing in the classpath

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.4
What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
plugin
What transformers did you use which caused an error?

  • Transformer1
  • Transformer2
  • Transformer3
  • etc.
    none
    Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
    Radon produces error
    What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
    https://hastebin.com/wuhisozori.sql
    Any other information? (i.e. You combined Radon with other obfuscators)
    Minecraft Client Jar

Promblem when trying to use it.

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
0.8.2
What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
standalone
What transformers did you use which caused an error?

  • I used the ones which are in the example cfg.

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
None of them, I guess
What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://pastebin.com/7EUbPbt0
Any other information? (i.e. You combined Radon with other obfuscators)
No

Suggestion - Ignore classes that extend / implement

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.3

Have a suggestion here. Would be nice if you could add some sort of way to ignore classes that extend or implement another class. For example, if you add extends me.database.fruits.Fruit, or implements me.database.fruits.FruitInterface, it will be ignored if it extended/implemented in the class to be obfuscated.

Thanks ;D

library

This is a suggestion not a bug, sorry if im not suppose to post here, but it would be cool if when adding a library it would be cool if you could select a folder and it finds all the jar files in that folder and uses them

Radon does not obfuscate plugins

This is a bug or not I do not know but when I obfuscate any plugin I wrote Anti-Piracy as an error and I can not obfuscate the plugin

Obfuscation corrupts the plugin due to annotations

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
0.8.1

What kind of Jar file did you obfuscate?
Premium plugin Boss.

Any other information? (i.e. You combined Radon with other obfuscators)
Used Proguard and ZKM before.

I would like to ask how to save the following error that is caused upon running a command in game, since each command class has an annotation on top of it. I have excluded the obfuscation of annotations completely in Proguard and ZKM, so I suspect here is a similar way as well, but I wonder what option causes this specifically. Thanks.

a

Crashs Minecraft Client

Title lol xD

but anyways, when i even do a basic string encryption on light it wont even load it will try then it will crash
i have no idea why this is happening even when i use like flow and other stuff it still crashes

Bug

This is a bug or not I do not know but when I obfuscate any plugin I wrote Anti-Piracy as an error and I can not obfuscate the plugin

Jar Radon obfuscated crashed with the exception: "java.lang.NoSuchMethodError"

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
0.6.1
What kind of Jar file did you obfuscate?
android

What transformers did you use which caused an error?

  • Renamer

Is Radon the issue or the jar Radon obfuscated the issue?
The jar crashed with the exception: "java.lang.NoSuchMethodError"

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)

Any other information? (i.e. You combined Radon with other obfuscators)

  1. if I turn off Renamer, everything works fine.
  2. Adding Exempts to the entire package doesn't work, it crashed also.
  3. The methods that throw "java.lang.NoSuchMethodError" are private.
  4. If I change the private method to protect or public, everything works fine.

So only private methods are causing the exception.

VerifyError after processing GSON with no transformers

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
0.6.1

What kind of Jar file did you obfuscate?
Google GSON

What transformers did you use which caused an error?
None

Is Radon the issue or the jar Radon obfuscated the issue?

What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)
https://hastebin.com/henugibeba.pl

Any other information? (i.e. You combined Radon with other obfuscators)
None

May be ASM related, as #9

Android crashed on NumberObfuscation with Heavy mode

Which version of Radon are you using? (Do not say "latest", if you do, your issue will be immediately closed)
1.0.4
What kind of Jar file did you obfuscate? (Android/Standalone/Plugin)
Android
What transformers did you use which caused an error?

  • NumberObfuscation

Is Radon the issue or the jar Radon obfuscated the issue? (if the obfuscated jar is the issue, make sure to provide the jar)
radon issue
What is the error produced? (Copy-and-paste error into PasteBin or HasteBin and link it here)

W/dalvikvm( 5590): VFY: register1 v2 type 17, wanted 5
W/dalvikvm( 5590): VFY:  rejecting opcode 0x6e at 0x000c
W/dalvikvm( 5590): VFY:  rejected Lcom/myapp/sdk/MyAppTerms;.off (Landroid/content/Context;)V
W/dalvikvm( 5590): Verifier rejected class Lcom/myapp/sdk/MyAppTerms;
D/AndroidRuntime( 5590): Shutting down VM
W/dalvikvm( 5590): threadid=1: thread exiting with uncaught exception (group=0xa65f1228)
E/AndroidRuntime( 5590): FATAL EXCEPTION: main
E/AndroidRuntime( 5590): java.lang.VerifyError: com/myapp/sdk/MyAppTerms

Any other information? (i.e. You combined Radon with other obfuscators)
It's reproduced only when NumberObfuscation is Heavy, in Normal or Light mode, worked fine !
And it's reproduced only on android version 4.1-5.0. On version 6+ worked fine !
You combined Radon with other obfuscators: With proguard only, but without proguard it's crashed too

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.