The website was uploaded to a. Asa file, and its suffix was changed to. rar, which then escaped my simple suffix judgment.
As a result, the website is infected with Trojans. Fortunately, it is not difficult. Now the real file type has been added and the security is much higher.
Meteorology <% @ Page Language = "C #" AutoEventWireup = "true" CodeFile = "TrueFile. aspx. cs" Inherits = "test_TrueFile" %>
<! 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 runat = "server">
<Title> No title page </title>
</Head>
<Body>
<Form id = "form1" runat = "server">
<Div>
<Asp: FileUpload ID = "uploadFile" runat = "server"/>
<Asp: Button ID = "btnOk" runat = "server" Text = "judge" OnClick = "btnOk_Click"/>
</Div>
</Form>
</Body>
</Html>
Meteorology Using System;
Using System. Data;
Using System. Configuration;
Using System. Collections;
Using