diff --git a/plugins/EldevinStringDecrypter.gy b/plugins/EldevinStringDecrypter.gy deleted file mode 100644 index 2f7e9717..00000000 --- a/plugins/EldevinStringDecrypter.gy +++ /dev/null @@ -1,49 +0,0 @@ -import the.bytecode.club.bytecodeviewer.api.*; -import java.util.ArrayList; -import org.objectweb.asm.tree.ClassNode; -import javax.swing.JDialog; -import javax.swing.JOptionPane; -import java.lang.reflect.Field; -import org.objectweb.asm.tree.FieldNode; - -public class EldevinStringDecrypter extends Plugin { - - @Override - public void execute(ArrayList classNodesList) { - PluginConsole gui = new PluginConsole("Eldevin String Decrypter"); - - JOptionPane pane = new JOptionPane("WARNING: This method of decryption loads the classes into a classloader and executes the init function, this could lead to malicious code executing.\n\r\n\rAre you sure you want to run this plugin?"); - String[] options = ["Yes", "No"]; - pane.setOptions(options); - JDialog dialog = pane.createDialog(the.bytecode.club.bytecodeviewer.BytecodeViewer.viewer, "WARNING"); - dialog.show(); - Object obj = pane.getValue(); - int result = -1; - for (int k = 0; k < options.length; k++) - if (options[k].equals(obj)) - result = k; - - - if(result == 0) { - for(ClassNode cn : classNodesList) { - the.bytecode.club.bytecodeviewer.api.BytecodeViewer.getClassNodeLoader().addClass(cn); - - for(Object o : cn.fields.toArray()) { - FieldNode f = (FieldNode) o; - if(f.name.equals("z")) {// && f.desc.equals("([Ljava/lang/String;)V")) { - try { - for(Field f2 : the.bytecode.club.bytecodeviewer.api.BytecodeViewer.getClassNodeLoader().nodeToClass(cn).getFields()) { - String s = f2.get(null); - if(s != null && !s.empty()) - gui.appendText(cn+":"+s); - } - } catch(Exception | StackOverflowError e) {} - } - } - - } - - gui.setVisible(true); - } - } -} \ No newline at end of file diff --git a/plugins/Skeleton.gy b/plugins/Skeleton.java similarity index 100% rename from plugins/Skeleton.gy rename to plugins/Skeleton.java diff --git a/plugins/Skeleton.rb b/plugins/Skeleton.rb deleted file mode 100644 index 1c587ab5..00000000 --- a/plugins/Skeleton.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'java' - -java_import 'the.bytecode.club.bytecodeviewer.api.Plugin' -java_import 'the.bytecode.club.bytecodeviewer.api.PluginConsole' -java_import 'java.lang.System' -java_import 'java.util.ArrayList' -java_import 'org.objectweb.asm.tree.ClassNode' - -class Skeleton < Plugin - def execute(classNodeList) - gui = PluginConsole.new "Skeleton" - gui.setVisible(true) - gui.appendText("exceuted skeleton") - end -end \ No newline at end of file diff --git a/plugins/Test.gy b/plugins/Test.gy deleted file mode 100644 index 1f3b25d8..00000000 --- a/plugins/Test.gy +++ /dev/null @@ -1,14 +0,0 @@ -import the.bytecode.club.bytecodeviewer.api.*; -import java.util.ArrayList; -import org.objectweb.asm.tree.ClassNode; -import the.bytecode.club.bytecodeviewer.decompilers.*; - -public class Test extends Plugin { - - @Override - public void execute(ArrayList classNodesList) { - PluginConsole gui = new PluginConsole("Skeleton"); - gui.setVisible(true); - gui.appendText(Smali.decompileClassNode(the.bytecode.club.bytecodeviewer.BytecodeViewer.viewer.workPane.getCurrentClass().cn)); - } -} \ No newline at end of file diff --git a/plugins/skeleton.py b/plugins/skeleton.py deleted file mode 100644 index 227870aa..00000000 --- a/plugins/skeleton.py +++ /dev/null @@ -1,13 +0,0 @@ -from the.bytecode.club.bytecodeviewer.api import Plugin -from the.bytecode.club.bytecodeviewer.api import PluginConsole -from java.lang import System -from java.lang import Boolean -from java.util import ArrayList -from org.objectweb.asm.tree import ClassNode - -class skeleton(Plugin): - - def execute(classNodeList, poop): #for some reason it requires a second arg - gui = PluginConsole("Skeleton") - gui.setVisible(Boolean.TRUE) - gui.appendText("exceuted skeleton")