forked from cSploit/android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.java
More file actions
36 lines (22 loc) · 783 Bytes
/
Copy pathClient.java
File metadata and controls
36 lines (22 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package org.csploit.android.core;
/**
* the cSploitd client
*/
public class Client {
static {
java.lang.System.loadLibrary("cSploitCommon");
java.lang.System.loadLibrary("cSploitClient");
}
native static boolean Login(String username, String pswdHash);
native static boolean isAuthenticated();
native static boolean LoadHandlers();
native static String[] getHandlers();
native static int StartCommand(String handler, String cmd, String[] env);
native static boolean Connect(String path);
native static boolean isConnected();
native static void Disconnect();
native static void Shutdown();
native static void Kill(int id, int signal);
native static boolean SendTo(int id, byte[] array);
public native static boolean hadCrashed();
}