Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.1: String encryption fails #31

Closed
kangarko opened this issue Sep 3, 2018 · 5 comments
Closed

1.0.1: String encryption fails #31

kangarko opened this issue Sep 3, 2018 · 5 comments
Labels
obfuscation bug Jar obfuscated by Radon isn't working

Comments

@kangarko
Copy link

kangarko commented Sep 3, 2018

Trying to further obfuscate a Spigot plugin already obfuscated by ProGuard. This is the console output.

https://pastebin.com/Vpf9Kkgj

@kangarko
Copy link
Author

kangarko commented Sep 3, 2018

Also, when removed String encryption, the obfuscator worked fine, but it failed to load as a plugin.

Radon console:
https://pastebin.com/vkhK18Nx

Spigot Error:

[11:13:10 ERROR]: Could not load 'plugins\ChatControl_obfuscated.jar' in folder
'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.BootstrapMethodError
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:133) ~[patched_1.13.1.jar:git-Paper-197]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
java:329) ~[patched_1.13.1.jar:git-Paper-197]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
.java:251) ~[patched_1.13.1.jar:git-Paper-197]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.loadPlugins(CraftServer.j
ava:322) ~[patched_1.13.1.jar:git-Paper-197]
        at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.ja
va:230) ~[patched_1.13.1.jar:git-Paper-197]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.jav
a:784) ~[patched_1.13.1.jar:git-Paper-197]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.BootstrapMethodError
        at me.kangarko.chatcontrol.kautils.reflections.DataMap$Metrics$MultiLine
Chart.??? (Unknown Source) ~[?:?]
        at java.lang.invoke.CallSite.makeSite(Unknown Source) ~[?:1.8.0_181]
        at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(Unknown Source)
 ~[?:1.8.0_181]
        at java.lang.invoke.MethodHandleNatives.linkCallSite(Unknown Source) ~[?
:1.8.0_181]
        at me.kangarko.chatcontrol.ChatControl.<clinit>(Unknown Source) ~[?:?]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
        at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
a:82) ~[patched_1.13.1.jar:git-Paper-197]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:129) ~[patched_1.13.1.jar:git-Paper-197]
        ... 6 more

@kangarko
Copy link
Author

kangarko commented Sep 3, 2018

I have to correct, just noticed the plugin was NOT obfuscated by ProGuard, so we are dealing with a brand clear jar.

@kangarko
Copy link
Author

kangarko commented Sep 3, 2018

When disabled Flow obfuscation, this is new Spigot error: https://pastebin.com/08DWV372

Here is radon console just to clarify: https://pastebin.com/yHD1cUCC

@ItzSomebody
Copy link
Owner

That's an issue with the invokedynamic transformer, I'll see what I can do. The string encryption error is a typo on my part, I'll make sure to get that fixed some time. Thanks!

@kangarko
Copy link
Author

kangarko commented Sep 3, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
obfuscation bug Jar obfuscated by Radon isn't working
Projects
None yet
Development

No branches or pull requests

2 participants