Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. var proc = new Process();
  2. proc.StartInfo.UseShellExecute = false;
  3. proc.StartInfo.FileName = "Test2.exe";
  4. proc.StartInfo.Arguments = args[0];
  5. proc.StartInfo.Domain = "NT AUTHORITY";
  6. proc.StartInfo.UserName = "NETWORK SERVICE";
  7. proc.StartInfo.Password = new SecureString();
  8. proc.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement