Bootloader Repackaging

This commit is contained in:
Konloch 2021-07-21 02:23:32 -07:00
parent 34a9d1e54b
commit cbb826d586
20 changed files with 39 additions and 27 deletions

View file

@ -11,8 +11,11 @@ import javax.swing.JOptionPane;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import me.konloch.kontainer.io.HTTPRequest; import me.konloch.kontainer.io.HTTPRequest;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import the.bytecode.club.bytecodeviewer.bootloader.resource.EmptyExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.loader.AbstractLoaderFactory;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.loader.ClassPathLoader;
import the.bytecode.club.bytecodeviewer.bootloader.loader.ILoader;
import the.bytecode.club.bytecodeviewer.bootloader.resource.external.EmptyExternalResource;
import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.Configuration; import the.bytecode.club.bytecodeviewer.Configuration;
import the.bytecode.club.bytecodeviewer.Constants; import the.bytecode.club.bytecodeviewer.Constants;

View file

@ -1,8 +1,8 @@
package the.bytecode.club.bytecodeviewer.bootloader; package the.bytecode.club.bytecodeviewer.bootloader.loader;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,10 +1,10 @@
package the.bytecode.club.bytecodeviewer.bootloader; package the.bytecode.club.bytecodeviewer.bootloader.loader;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.net.URL; import java.net.URL;
import java.net.URLClassLoader; import java.net.URLClassLoader;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,6 +1,6 @@
package the.bytecode.club.bytecodeviewer.bootloader; package the.bytecode.club.bytecodeviewer.bootloader.loader;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader; package the.bytecode.club.bytecodeviewer.bootloader.loader;
import java.io.IOException; import java.io.IOException;
import java.lang.reflect.Modifier; import java.lang.reflect.Modifier;
@ -9,8 +9,8 @@ import java.util.Set;
import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassWriter; import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
import the.bytecode.club.bytecodeviewer.bootloader.resource.JarContents; import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.contents.JarContents;
import the.bytecode.club.bytecodeviewer.bootloader.util.ClassTree; import the.bytecode.club.bytecodeviewer.bootloader.util.ClassTree;
/*************************************************************************** /***************************************************************************

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader; package the.bytecode.club.bytecodeviewer.bootloader.loader;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.external;
import java.io.IOException; import java.io.IOException;
import java.net.URL; import java.net.URL;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.external;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
@ -11,6 +11,9 @@ import java.util.jar.JarEntry;
import java.util.jar.JarFile; import java.util.jar.JarFile;
import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassReader;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.contents.JarContents;
import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.JarInfo;
import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.JarResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.external;
import java.io.IOException; import java.io.IOException;
import java.net.URL; import java.net.URL;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.jar;
import java.io.File; import java.io.File;
import java.net.JarURLConnection; import java.net.JarURLConnection;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.jar;
import java.util.Arrays; import java.util.Arrays;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.jar;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.jar.contents;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
@ -7,6 +7,8 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.bootloader.resource.DataContainer;
import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.JarResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,7 +1,9 @@
package the.bytecode.club.bytecodeviewer.bootloader.resource; package the.bytecode.club.bytecodeviewer.bootloader.resource.jar.contents;
import java.net.URL; import java.net.URL;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.bootloader.resource.DataContainer;
import the.bytecode.club.bytecodeviewer.bootloader.resource.jar.JarResource;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -8,6 +8,8 @@ import java.util.Map;
import java.util.Set; import java.util.Set;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode; import org.objectweb.asm.tree.MethodNode;
import the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap.NullPermeableHashMap;
import the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap.SetCreator;
import static the.bytecode.club.bytecodeviewer.bootloader.util.ClassHelper.convertToMap; import static the.bytecode.club.bytecodeviewer.bootloader.util.ClassHelper.convertToMap;
import static the.bytecode.club.bytecodeviewer.bootloader.util.ClassHelper.copyOf; import static the.bytecode.club.bytecodeviewer.bootloader.util.ClassHelper.copyOf;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.util; package the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.util; package the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap;
import java.util.HashMap; import java.util.HashMap;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.util; package the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.bootloader.util; package the.bytecode.club.bytecodeviewer.bootloader.util.nullpermablehashmap;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *

View file

@ -1,9 +1,9 @@
package the.bytecode.club.bytecodeviewer.util; package the.bytecode.club.bytecodeviewer.util;
import the.bytecode.club.bytecodeviewer.bootloader.Boot; import the.bytecode.club.bytecodeviewer.bootloader.Boot;
import the.bytecode.club.bytecodeviewer.bootloader.ILoader; import the.bytecode.club.bytecodeviewer.bootloader.loader.ILoader;
import the.bytecode.club.bytecodeviewer.bootloader.resource.EmptyExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.EmptyExternalResource;
import the.bytecode.club.bytecodeviewer.bootloader.resource.ExternalResource; import the.bytecode.club.bytecodeviewer.bootloader.resource.external.ExternalResource;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.CommandLineInput; import the.bytecode.club.bytecodeviewer.CommandLineInput;