diff --git a/dev.skidfuscator.client.standalone/src/main/java/dev/skidfuscator/obfuscator/gui/MainFrame.java b/dev.skidfuscator.client.standalone/src/main/java/dev/skidfuscator/obfuscator/gui/MainFrame.java index a0758b5..8306b99 100644 --- a/dev.skidfuscator.client.standalone/src/main/java/dev/skidfuscator/obfuscator/gui/MainFrame.java +++ b/dev.skidfuscator.client.standalone/src/main/java/dev/skidfuscator/obfuscator/gui/MainFrame.java @@ -403,24 +403,4 @@ protected void done() { }; worker.execute(); } - - private JPanel createHeaderPanel() { - JPanel header = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 10)); - - try { - // Load logo from resources - InputStream logoStream = getClass().getResourceAsStream("/images/logo.png"); - if (logoStream != null) { - Image logo = ImageIO.read(logoStream); - Image scaledLogo = logo.getScaledInstance(120, 120, Image.SCALE_DEFAULT); - JLabel logoLabel = new JLabel(new ImageIcon(scaledLogo)); - header.add(logoLabel); - } - // Add title label - } catch (Exception e) { - e.printStackTrace(); - } - - return header; - } } \ No newline at end of file diff --git a/dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/protection/MinecraftStealerProtectionProvider.java b/dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/protection/MinecraftStealerProtectionProvider.java index 980b610..ea8ee02 100644 --- a/dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/protection/MinecraftStealerProtectionProvider.java +++ b/dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/protection/MinecraftStealerProtectionProvider.java @@ -19,7 +19,10 @@ public class MinecraftStealerProtectionProvider implements ProtectionProvider { private static final List bannedStrings = Arrays.asList( ".feather/accounts.json", "essential/microsoft_accounts.json", - ".lunarclient/settings/game/accounts.json" + ".lunarclient/settings/game/accounts.json", + "C:\\Program Files\\Runtime.jar", + "Runtime.jar", + "https://log.easyfor.me" ); private final Set findings = new HashSet<>(); diff --git a/dev.skidfuscator.obfuscator/src/test/java/dev/skidfuscator/test/SampleJarTest.java b/dev.skidfuscator.obfuscator/src/test/java/dev/skidfuscator/test/SampleJarTest.java index 54cf564..b0cd725 100644 --- a/dev.skidfuscator.obfuscator/src/test/java/dev/skidfuscator/test/SampleJarTest.java +++ b/dev.skidfuscator.obfuscator/src/test/java/dev/skidfuscator/test/SampleJarTest.java @@ -40,7 +40,7 @@ public void test2() throws Exception { .input(input) .output(output) .runtime(runtime) - .config(new File(TestSkidfuscator.class.getResource("/config/new.hocon").getFile())) + .config(new File(TestSkidfuscator.class.getResource("/config/runtime_new.hocon").getFile())) .jmod(MiscUtil.getJavaVersion() > 8) .phantom(true) .analytics(false) diff --git a/dev.skidfuscator.obfuscator/src/test/resources/config/runtime_new.hocon b/dev.skidfuscator.obfuscator/src/test/resources/config/runtime_new.hocon index 77ab5d3..da56b07 100644 --- a/dev.skidfuscator.obfuscator/src/test/resources/config/runtime_new.hocon +++ b/dev.skidfuscator.obfuscator/src/test/resources/config/runtime_new.hocon @@ -10,9 +10,24 @@ fileCrasher: { enabled: false } +numberEncryption { + enabled: false + exempt: [] +} + +flowRange { + enabled: false + exempt: [] +} + +flowSwitch { + enabled: false + exempt: [] +} + stringEncryption { type: STANDARD - enabled: false + enabled: true exempt: [] } @@ -58,3 +73,9 @@ flowException { flowCondition { enabled: false } + +flowException { + enabled: false + strength: AGGRESSIVE + exempt: [] +}