Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public class AttachMethods
  2. {
  3. //PP = Process path
  4. private string PP_T1108 = "C:\\Windows\\System32\\tttracer.exe";
  5.  
  6. public void T1108(string argument)
  7. {
  8. Run(PP_T1108,argument);
  9. }
  10.  
  11. private void Run(string processPath,string argument)
  12. {
  13. Process process = new Process();
  14. process.StartInfo.FileName = processPath;
  15. process.StartInfo.Arguments = argument;
  16. process.Start();
  17. }
  18. }
  19.  
  20.  
  21. class Program
  22. {
  23. static void Main(string[] args)
  24. {
  25. AttachMethods methods = new AttachMethods();
  26.  
  27. if(args[0] == "-T1108")
  28. {
  29. methods.T1108(args[1]);
  30. }
  31.  
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement