mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Fixed several obfuscations
This commit is contained in:
1 parent
97a68156e0
commit
2b87a0c772
3 files changed
+2565
-2593
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -377,7 +377,7 @@ public class Main extends JFrame {
|
||||
fileChooser.setFileSelectionMode(0);
|
||||
fileChooser.setAcceptAllFileFilterUsed(false);
|
||||
fileChooser.addChoosableFileFilter(new FileNameExtensionFilter("Jar File", "jar"));
|
||||
final int action = fileChooser.showOpenDialog(Main.this);
|
||||
final int action = fileChooser.showSaveDialog(Main.this);
|
||||
if (action == 0) {
|
||||
final File file = fileChooser.getSelectedFile();
|
||||
if (file.exists()) {
|
||||
@@ -447,7 +447,6 @@ public class Main extends JFrame {
|
||||
super(new DefaultMutableTreeNode(jar.getName().split(File.separator.equals("\\") ? "\\\\"
|
||||
: File.separator)[jar.getName().split(File.separator.equals("\\") ? "\\\\" : File.separator).length
|
||||
- 1]));
|
||||
|
||||
try {
|
||||
ArrayList<String> paths = new ArrayList<>();
|
||||
classNodes.clear();
|
||||
@@ -461,6 +460,9 @@ public class Main extends JFrame {
|
||||
? (!next.getName().split("/")[next.getName().split("/").length - 1].contains("$"))
|
||||
: (!next.getName().contains("$"))) {
|
||||
paths.add(next.getName());
|
||||
} else if (next.getName().startsWith("$") || next.getName().contains("$$")
|
||||
|| next.getName().endsWith("$")) { // obfuscated with $
|
||||
paths.add(next.getName());
|
||||
}
|
||||
ClassReader reader;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user