Beispiel #1
0
 /// <summary>
 /// Cancels the agent on the remote computer running the profile delete command.
 /// </summary>
 /// <param name="Host">Hostname to cancel profile delete agent on.</param>
 public static async void CancelRemoteProfileDelete(string Host)
 {
     ShouldCancelRemoteProfileDelete = true;
     Logger.Information("Sending KILL command to remote target...");
     if (await Remote.KillProcess(Host, "SuperGratePD.exe"))
     {
         Logger.Success("KILL command sent.");
     }
     else
     {
         Logger.Error("Failed to send KILL command.");
     }
 }
Beispiel #2
0
        public static async void Cancel()
        {
            Canceled = true;
            Logger.Information("Sending KILL command to USMT...");
            await Remote.KillProcess(CurrentTarget, "loadstate.exe");

            await Remote.KillProcess(CurrentTarget, "scanstate.exe");

            if (await Remote.KillProcess(CurrentTarget, "mighost.exe"))
            {
                Logger.Success("KILL command sent.");
            }
            else
            {
                Logger.Error("Failed to send KILL command.");
            }
        }