MCPcopy Create free account
hub / github.com/CCob/BOF.NET / SendKeystrokes

Method SendKeystrokes

managed/BOFNET/BeaconObject.cs:61–69  ·  view source on GitHub ↗
(string keys, int session, string userName, string title)

Source from the content-addressed store, hash-verified

59 }
60
61 protected void SendKeystrokes(string keys, int session, string userName, string title) {
62
63 var keystrokesCallback = new BinaryWriter(new MemoryStream());
64 keystrokesCallback.Write(keys.Length);
65 keystrokesCallback.Write(Encoding.UTF8.GetBytes(keys));
66 WriteSessionUserNameTitle(keystrokesCallback, session, userName, title);
67
68 BeaconCallbackWriter(OutputTypes.CALLBACK_KEYSTROKES, ((MemoryStream)keystrokesCallback.BaseStream).ToArray(), (int)keystrokesCallback.BaseStream.Length);
69 }
70
71 protected void DownloadFile(string fileName, Stream fileData) {
72

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected