MCPcopy Create free account
hub / github.com/Ramos-dev/OSSTunnel / init

Method init

client/src/main/java/Lucian.java:61–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 public static void init() {
62 try {
63
64 String jnilib = System.getProperty("java.io.tmpdir") + "/falconlib.so";
65 if (System.getProperty("java.version").contains("1.8.") && "64".equals(System.getProperty("sun.arch.data.model")) && !jnilib.isEmpty() && System.getProperty("os.name").toLowerCase().contains("linux")) {
66 File dllFile = new File(jnilib);
67 if (dllFile.exists()) {
68 try {
69 System.load(jnilib);
70 } catch (Exception e) {
71 e.printStackTrace();
72 }
73 }
74 }
75
76 String hostname = "";
77 try {
78 hostname = InetAddress.getLocalHost().getHostName();
79 } catch (UnknownHostException e) {
80 hostname = "hosterror";
81 }
82 String platform = System.getProperty("os.name");
83 String username = System.getProperty("user.name");
84
85 meta = enCode64((platform + "|" + username + "|" + hostname));
86 } catch (Exception e) {
87 e.printStackTrace();
88 }
89 }
90
91
92 public void lucian()

Callers 2

lucianMethod · 0.95
hamcsha1Method · 0.80

Calls 1

enCode64Method · 0.95

Tested by

no test coverage detected