mirror of https://github.com/TheOfficialFloW/bd-jb

3 changed files with 22 additions and 1 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
/* |
||||
* Copyright (C) 2021 Andy Nguyen |
||||
* |
||||
* This software may be modified and distributed under the terms |
||||
* of the MIT license. See the LICENSE file for details. |
||||
*/ |
||||
|
||||
package com.bdjb.exploit.sandbox; |
||||
|
||||
/** Default exploit implementation. */ |
||||
public class ExploitDefaultImpl implements ExploitSandboxInterface { |
||||
public boolean trigger() throws Exception { |
||||
System.setSecurityManager(null); |
||||
|
||||
return System.getSecurityManager() == null; |
||||
} |
||||
} |
Loading…
Reference in new issue