02/11/2015 - Added ZStringArray String Decrypter. (Thanks Righteous)
02/20/2015 - Moved the decompilers/disassemblers around.
02/20/2015 - Fixed a resource leak with Krakatau
Decompiler/Disassembler/Assembler.
02/21/2015 - Fixed regex searching if your regex search contained a
syntax error.
02/21/2015 - Added the compiler/decompiler instances to the
BytecodeViewer API class.
02/21/2015 - Sped up the decompilers, each view pane runs its own
decompiler thread.
02/21/2015 - Added Janino compiler, you can now compile the decompiled
source code inside of BCV.
02/21/2015 - Added the editable option for almost all of the
decompilers/disassemblers.
02/21/2015 - Cached the next/previous icons and added a resources class
for all resources.
01/21/2015 - Renamed EZ-Injection as File-Run, however kept the plugin
named EZ-Injection.
02/21/2015 - Dropped Groovy support, added .Java plugin compilation
instead (now only 10mb).
02/21/2015 - Added support for reading resources, including displaying
images, detecting pure ascii files and more.
02/21/2015 - Fixed an issue with loading an already selected node in the
file navigation pane.
02/22/2015 - Added an error console to the Java compiler
02/22/2015 - Ensured the spawned Python/Krakatau processes are killed
when closing BCV.
02/22/2015 - Made it more beginner friendly.
02/22/2015 - Fixed? The file navigation search.
02/22/2015 - Added a shit ton more comments to non-api related classes.
02/23/2015 - Added APK resources.
02/23/2015 - MORE ANDROID LOVE! Added APKTool.jar's decode. (Takes a
while so it's a setting, also pumped the jar back to 16MB)
02/23/2015 - Added close all but this tab menu.
02/23/2015 - Not really code related, but added _install.bat and
_uninstall.bat for the exe version of BCV.
02/23/2015 - Back to ASM5, packed dex2jar in its own obfuscated jar.
02/23/2015 - Added the annotations back to the Bytecode Decompiler.
(Once again, thanks Bibl)
02/23/2015 - It once again works with Java 8 Jars.
This commit is contained in:
Kalen Kinloch 2015-02-23 23:55:53 -08:00
parent bde746b3b7
commit 0f5ef77944
160 changed files with 39708 additions and 1228 deletions

View file

@ -0,0 +1,49 @@
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<ClassNode> 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);
}
}
}

15
plugins/Skeleton.rb Normal file
View file

@ -0,0 +1,15 @@
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

14
plugins/Test.gy Normal file
View file

@ -0,0 +1,14 @@
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<ClassNode> classNodesList) {
PluginConsole gui = new PluginConsole("Skeleton");
gui.setVisible(true);
gui.appendText(Smali.decompileClassNode(the.bytecode.club.bytecodeviewer.BytecodeViewer.viewer.workPane.getCurrentClass().cn));
}
}

13
plugins/skeleton.py Normal file
View file

@ -0,0 +1,13 @@
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")