From 6d615cd142264c548d8f4fcbce6b95803793da36 Mon Sep 17 00:00:00 2001 From: Konloch Date: Mon, 21 Jun 2021 10:27:05 -0700 Subject: [PATCH] Allow constants to execute HideFile via System.exec --- .../java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java b/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java index 5df1a659..6704b72d 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java @@ -48,6 +48,7 @@ public class SecurityMan extends SecurityManager { executedClass.equals("the.bytecode.club.bytecodeviewer.util.Enjarify") || executedClass.equals("the.bytecode.club.bytecodeviewer.util.APKTool") || executedClass.equals("the.bytecode.club.bytecodeviewer.BytecodeViewer") || + executedClass.equals("the.bytecode.club.bytecodeviewer.Constants") || executedClass.equals("the.bytecode.club.bytecodeviewer.compilers.JavaCompiler")) { blocking = false; } else for (StackTraceElement stackTraceElements : Thread.currentThread().getStackTrace()) {