【添加】utils修复

This commit is contained in:
zer0Black
2021-03-12 16:19:51 +08:00
parent e61dc85909
commit e240930f17
23 changed files with 138 additions and 3739 deletions
@@ -207,39 +207,6 @@ public class k {
private static String getMaOld() {
if (l.c(c)) {
return c;
}
String str1 = getOSName();
String str2 = getSystemRoot() + "/system32/ipconfig /all";
String str3 = null;
if (str1.startsWith("windows")) {
if (str1.equals("windows xp")) {
str3 = b(str2);
} else if (str1.equals("windows 2003")) {
str3 = b(str2);
} else {
str3 = getWindow7Ma();
}
} else if (str1.startsWith("linux")) {
str3 = getLinuxMa();
} else {
str3 = getUnixMa();
}
c = str3;
return str3;
}
private static String getOSName() {
return System.getProperty("os.name").toLowerCase();
}