MCPcopy Create free account
hub / github.com/R4gd0ll/LazyAnFuZai / budingCheck

Method budingCheck

src/main/java/System/systemCheck.java:48–56  ·  view source on GitHub ↗
(String a)

Source from the content-addressed store, hash-verified

46 }
47
48 public static String budingCheck(String a){
49 String[] b = a.split("\n");
50 String d = b[3].replace("|","@").split("@")[2];
51 String result = "yum history list查看补丁安装情况,最近补丁安装时间为"+d;
52 if(d.contains("2022")||d.contains("2023")||d.contains("2024")){
53 return result;
54 }
55 return result+",不符合安全要求";
56 }
57
58 public static String otherCheck(){
59 String result = "自行查看,默认不符合安全要求";

Callers 1

resultPrintMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected