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

Method defUserCheck

src/main/java/System/userCheck.java:15–20  ·  view source on GitHub ↗
(String a,String aa)

Source from the content-addressed store, hash-verified

13 }
14
15 public static String defUserCheck(String a,String aa){
16 String[] bb = aa.split("\n");
17 String[] b = a.split("\n");
18 String result = "除去可登录用户外,查看/etc/shadow文件发现共"+(b.length-bb.length)+"个默认用户,均无密码且无法登录";
19 return result;
20 }
21
22 public static String ShareUserCheck() {
23 String result = "经/etc/shadow与/etc/passwd以及用户需求对比,不存在共享用户";

Callers 1

resultPrintMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected