mirror of https://github.com/TheOfficialFloW/bd-jb
18 lines
449 B
Java
18 lines
449 B
Java
/*
|
|
* 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;
|
|
}
|
|
}
|