From c7cbd60e3d8238d9014ac0156bcdcd4477624e79 Mon Sep 17 00:00:00 2001 From: Konloch Date: Fri, 30 Jul 2021 14:05:45 -0700 Subject: [PATCH] Temporarily Nerf Security Manager Fixes #339 but introduces remote execution through plugins/EZ-Inject again A proper solution is to fix the smali disassembler to dump the class into the temp directory --- .../the/bytecode/club/bytecodeviewer/util/SecurityMan.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 c0ea0810..e23654aa 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/util/SecurityMan.java @@ -336,6 +336,8 @@ public class SecurityMan extends SecurityManager throw new SecurityException(e); } - throw new SecurityException("BCV is awesome, blocking write(" + file + ");"); + //TODO temporarily removed to fix #339 + // a proper fix is to edit the smali disassembler + //throw new SecurityException("BCV is awesome, blocking write(" + file + ");"); } }