Exemplo n.º 1
0
 public void SendEnumFileMessage(string path)
 {
     if (server != null)
     {
         var command = FilePlugin.MakeFileEnumCommand(path, false, false);
         var commandMsg = new CommandMessage()
         {
             Command = command,
         };
         server.SendMessage(commandMsg);
     }
 }
Exemplo n.º 2
0
 public void SendDeleteMessage(string path)
 {
     if(server != null)
     {
         var command    = FilePlugin.MakeFileDeleteCommand(@"D:\" + path);
         var commandMsg = new CommandMessage()
         {
             Command = command,
         };
         server.SendMessage(commandMsg);
     }
 }
Exemplo n.º 3
0
 public void SendGetCaptureDataMessage() // GetCaptureData
 {
     if (server != null)
     {
         var command = CommandMaker.Invoke("GetCaptureData", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
Exemplo n.º 4
0
 public void SendProcessEnumMessage() // ProcessEnum
 {
     if (server != null)
     {
         var command = CommandMaker.Invoke("ProcessEnum", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
Exemplo n.º 5
0
 public void SendFileEnumMessage(string path) // FileEnum
 {
     if (server != null)
     {
         var parms   = new object[] { path, false, false, };
         var command = CommandMaker.Invoke("FileEnum", parms);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
Exemplo n.º 6
0
 public void SendProcessTerminateMessage(uint pid) // ProcessTerminate
 {
     if (server != null)
     {
         var parms   = new object[] { pid };
         var command = CommandMaker.Invoke("ProcessTerminate", parms);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
Exemplo n.º 7
0
 public void SendEnumProcessMessage()
 {
     if (server != null)
     {
         var command1 = ProcessPlugin.MakeProcessEnumCommand();
         var commandMsg1 = new CommandMessage()
         {
             Command = command1,
         };
         server.SendMessage(commandMsg1);
     }
 }
Exemplo n.º 8
0
 public void SendTerminateMessage(uint pid)
 {
     if(server != null)
     {
         var command     = ProcessPlugin.MakeProcessTerminateCommand(pid);
         var commandMsg  = new CommandMessage()
         {
             Command = command,
         };
         server.SendMessage(commandMsg);
     }
 }
Exemplo n.º 9
0
 public void SendFileGetCurrentDirectoryMessage()
 {
     if(server != null)
     {
         var command = CommandMaker.Invoke("FileGetCurrentDirectory", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }