Web virus is originally produced
Published: March 27, 2003 16:07
Windows scripting host ObjectReference - Culprous? Windows Scripting Host Object Reference, hereinafter referred to as WSH. In Windows 9x's default installation, I found that most Internet users did not uninstall it. I never thought of using WSH combined with JavaScript to write such a powerful web virus. Let me talk about it. I wrote this article. After my friend visited the Chongqing Kiss Network (www.cqkiss.com), he will appear every time you start the machine before the landing dialog box appears. Welcome to Chongqing Nak.com (WWW .cqkiss.com) The word, because of the usual payment of the registry, I know that it is definitely changed in the registry. Can you directly manipulate the registry directly by the web page? I feel doubt, but after my research found, it is actually indeed. Through my research, I found that WSH is very scary. We can write a specific page. You may have the following consequences after accessing it: 1. Delete the specified file on your hard disk, create and modify text files, autoexec.bat is Text file. I did experiment, I really can modify it. 2. Execute any program allowed by the operating system; 3, set your C disk to completely share, then others can place Trojans on your machine. In the web example, I have implemented the full-sharing of the set C disk is implied. Since your site only involves the operation of the registry, I only contain this part in the examples. Other functions as described in 1 and 2 will not be given. Wsh registry on the MSDN instructions: The following table describes the methods associated with the WshShell object.Method Description RegDelete ---> Deletes a specified key or value from the registry RegRead -> Returns a specified key or value. For more detailed description, please refer to the use of the web code example in MSDN. An example of web code: (Note: / *...*/ text is my description, and should be removed in the actual web code.
Of course, its functionality requires WSH support) /*index.htm file content as follows: * / / * This line seems to be necessary, meaning is not too clear * /