Jump to content

Download and Run exe with javascript


Guest xaav

Recommended Posts

Does anyone know how to run an exe from javascript? Like at chrome.google.com, you click a button, and the webpage downloads and executes the file, all without any confirmation? Any ideas on how to do this?

 

PLEASE NO ACTIVEX, THAT STUFF IS BS.

Link to comment
Share on other sites

You realize that if this were possible, it would be a major security risk? Go be a script kiddie elsewhere.

 

EDIT: Also, Google doesn't have the power to do that. Clicking a button is confirmation. Moreover, if your computer is downloading/executing files without further confirmation, you're probably running on poor security settings.

Link to comment
Share on other sites

You realize that if this were possible, it would be a major security risk? Go be a script kiddie elsewhere.

 

 

Like at chrome.google.com, you click a button, and the webpage downloads and executes the file

 

Click on the Button..

 

Two seconds later..

 

All I am asking for is this functionality.. It is a reasonable question.

Link to comment
Share on other sites

What's wrong with making a link to your .exe?

 

 

Basically, all it does is install the CACert root certificate.. I just thought it would be more convenient to users for them to click a button, and run the exe, not have to open the file themselves.

 

It really is not that critical. I just wanted to make the process a little easier.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...