mirror of
https://github.com/dataease/dataease.git
synced 2026-06-12 08:21:09 +08:00
fix: 【漏洞】远程命令执行漏洞
This commit is contained in:
@@ -13,6 +13,9 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
public class CoreApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.setProperty("AMAZON_REDSHIFT_JDBC_INI_FILE", "null");
|
||||
System.setProperty("user.home", "null");
|
||||
System.setProperty("java.io.tmpdir", "null");
|
||||
SpringApplication context = new SpringApplication(CoreApplication.class);
|
||||
context.addInitializers(new EhCacheStartListener());
|
||||
context.run(args);
|
||||
|
||||
Reference in New Issue
Block a user