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
@@ -516,14 +516,14 @@ URL = (((https?|f(tp|ile))"://"|"www.")({URLCharacters}{URLEndCharacter})?)
|
|||||||
"return" { addToken(Token.RESERVED_WORD_2); }
|
"return" { addToken(Token.RESERVED_WORD_2); }
|
||||||
|
|
||||||
/* Data types. */
|
/* Data types. */
|
||||||
"boolean" |
|
"Z" |
|
||||||
"byte" |
|
"B" |
|
||||||
"char" |
|
"C" |
|
||||||
"double" |
|
"D" |
|
||||||
"float" |
|
"F" |
|
||||||
"int" |
|
"I" |
|
||||||
"long" |
|
"J" |
|
||||||
"short" { addToken(Token.DATA_TYPE); }
|
"S" { addToken(Token.DATA_TYPE); }
|
||||||
|
|
||||||
/* Booleans. */
|
/* Booleans. */
|
||||||
{BooleanLiteral} { addToken(Token.LITERAL_BOOLEAN); }
|
{BooleanLiteral} { addToken(Token.LITERAL_BOOLEAN); }
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -377,7 +377,7 @@ public class Main extends JFrame {
|
|||||||
fileChooser.setFileSelectionMode(0);
|
fileChooser.setFileSelectionMode(0);
|
||||||
fileChooser.setAcceptAllFileFilterUsed(false);
|
fileChooser.setAcceptAllFileFilterUsed(false);
|
||||||
fileChooser.addChoosableFileFilter(new FileNameExtensionFilter("Jar File", "jar"));
|
fileChooser.addChoosableFileFilter(new FileNameExtensionFilter("Jar File", "jar"));
|
||||||
final int action = fileChooser.showOpenDialog(Main.this);
|
final int action = fileChooser.showSaveDialog(Main.this);
|
||||||
if (action == 0) {
|
if (action == 0) {
|
||||||
final File file = fileChooser.getSelectedFile();
|
final File file = fileChooser.getSelectedFile();
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
@@ -447,7 +447,6 @@ public class Main extends JFrame {
|
|||||||
super(new DefaultMutableTreeNode(jar.getName().split(File.separator.equals("\\") ? "\\\\"
|
super(new DefaultMutableTreeNode(jar.getName().split(File.separator.equals("\\") ? "\\\\"
|
||||||
: File.separator)[jar.getName().split(File.separator.equals("\\") ? "\\\\" : File.separator).length
|
: File.separator)[jar.getName().split(File.separator.equals("\\") ? "\\\\" : File.separator).length
|
||||||
- 1]));
|
- 1]));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ArrayList<String> paths = new ArrayList<>();
|
ArrayList<String> paths = new ArrayList<>();
|
||||||
classNodes.clear();
|
classNodes.clear();
|
||||||
@@ -461,6 +460,9 @@ public class Main extends JFrame {
|
|||||||
? (!next.getName().split("/")[next.getName().split("/").length - 1].contains("$"))
|
? (!next.getName().split("/")[next.getName().split("/").length - 1].contains("$"))
|
||||||
: (!next.getName().contains("$"))) {
|
: (!next.getName().contains("$"))) {
|
||||||
paths.add(next.getName());
|
paths.add(next.getName());
|
||||||
|
} else if (next.getName().startsWith("$") || next.getName().contains("$$")
|
||||||
|
|| next.getName().endsWith("$")) { // obfuscated with $
|
||||||
|
paths.add(next.getName());
|
||||||
}
|
}
|
||||||
ClassReader reader;
|
ClassReader reader;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user