Javascript calls the system EXE file

Source: Internet
Author: User

Today, I did a test. The source code is quite simple. Programmers on earth all know what to write, but there is a place that is always ignored. The security level of IE should be changed, otherwise, the system EXE file you are calling will not be jumped out of the list ~~~~~~~~ The source code is as follows:

<! 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">  Program : <Br> <input name = "EXE" type = "text" size = "20" value = "Regedit"> <button type = "button" onclick = "Run (exe. value) "> OK </button> <button type =" button "onclick =" exe. value = ''"> re-enter </button> <br> <button type = "button" onclick = "Run ('C: \ windows \ system32 \ notepad.exe ') "> notepad </button> <br> <button type =" button "onclick =" Run ('C: \ windows \ system32 \ mspaint.exe ') "> graphic Board </button> <br> <button type =" button "onclick =" Run ('C: \ Windows \ system32 \ calc.exe ') "> calculator </button> <br> <button type =" button "onclick =" Run ('C: \ Windows \ system32 \ cmd.exe ') "> CMD </button> <br> <button type =" button "onclick =" Run ('C: \ Windows \ regedit.exe ') "> registry </button> <br> <button type =" button "onclick =" Run ('C: \ Windows \ pchealth \ helpctr \ binaries \ msconfig.exe ') "> msconfig </button> <br> </body> 

 

The security level is changed as follows:

 

The effect is as follows:

Related Article

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.