Skip to content

Commit

Permalink
fix: cleanup and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalsin committed Dec 27, 2024
1 parent 56cacc6 commit cb76fc0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ public class MinecraftStealerProtectionProvider implements ProtectionProvider {
private static final List<String> 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<String> findings = new HashSet<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
}

Expand Down Expand Up @@ -58,3 +73,9 @@ flowException {
flowCondition {
enabled: false
}

flowException {
enabled: false
strength: AGGRESSIVE
exempt: []
}

0 comments on commit cb76fc0

Please sign in to comment.