Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AttachMethods
- {
- //PP = Process path
- private string PP_T1108 = "C:\\Windows\\System32\\tttracer.exe";
- public void T1108(string argument)
- {
- Run(PP_T1108,argument);
- }
- private void Run(string processPath,string argument)
- {
- Process process = new Process();
- process.StartInfo.FileName = processPath;
- process.StartInfo.Arguments = argument;
- process.Start();
- }
- }
- class Program
- {
- static void Main(string[] args)
- {
- AttachMethods methods = new AttachMethods();
- if(args[0] == "-T1108")
- {
- methods.T1108(args[1]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement