Allow constants to execute HideFile via System.exec

This commit is contained in:
Konloch 2021-06-21 10:27:05 -07:00
parent 55c2ea22be
commit 6d615cd142

View file

@ -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()) {