Jump to content

Recommended Posts

Posted

What do you mean?

creat a javascript that download and execute a file to desktop also i cant understand if it will work with browsers like chrome it says that javascript is blocked on most all browsers expect internet explorer 

Posted (edited)

You can write a script that downloads the file (for example .exe program) and then the user can execute it himself. I think it is impossible to do it automatically by design, because it is dangerous (the file might be a virus).

 

You can find more information here : http://stackoverflow.com/questions/3749231/download-file-using-javascript-jquery .

 

 

By the way what do you mean Javascript is blocked in all browsers except IE? (If you know Greek you can write in Greek as well)

Edited by Gregor
Posted (edited)

You can write a script that downloads the file (for example .exe program) and then the user can execute it himself. I think it is impossible to do it automatically by design, because it is dangerous (the file might be a virus).

 

You can find more information here : http://stackoverflow.com/questions/3749231/download-file-using-javascript-jquery .

i prefer all this be silence

 

By the way what do you mean Javascript is blocked in all browsers except IE? (If you know Greek you can write in Greek as well)

yes

Edited by DarkLess*
Posted (edited)

I don't understand :P

http://stackoverflow.com/questions/34238913/can-i-digitally-sign-jscript-js-or-vbscript-vbs-files

 

how about disable security test ?

 

@edit

 

i wonder how i can execute the file when downloaded from browser , can this be done with javascript ?

Edited by DarkLess*
Posted (edited)

You can not execute a file with javascript.

if i know the location ? 

 

@edit example downloading to appdata and executing since i know the location and name of file ?

Edited by DarkLess*
Posted

if i know the location ? 

 

@edit example downloading to appdata and executing since i know the location and name of file ?

All browsers have disabled this "feature" long time ago, because it's a security vulnerability.

Posted (edited)

http://prntscr.com/b6lgw0

 

These links are for other Vulnerabilities 

I want to make my updater downloaded and executed when someone join my website

Edited by DarkLess*
Posted

http://prntscr.com/b6lgw0

 

These links are for other Vulnerabilities 

I want to make my updater downloaded and executed when someone join my website

You can't touch the user's directories... even if the browser download the file, it can't be executed automatically.

Posted

You can't touch the user's directories... even if the browser download the file, it can't be executed automatically.

Well gregor told me that i can't do it with javascript , i think it can executed with vbs.

Guest
This topic is now closed to further replies.
×
×
  • Create New...