The code they used is ``javascript<i> </i>function callShellApplication(){ var objShell = new ActiveXObject("WScript.shell"); objShell.run('"C:filePath"); }<i> </i>``
@ISYHACKauthorDec 08.2021 — #@Bost#1640292function callShellApplication(){<br/> var objShell = new ActiveXObject("WScript.shell");<br/> objShell.run('"C:Program FilesCCleaner.exe");<br/> } gave an error but I tried this function callShellApplication(){<br/> var objShell = new ActiveXObject("WScript.shell");<br/> objShell.run('"C:Program FilesCCleaner.exe"');<br/> } and it didn't give an error. I created an index.js file in the /public_html/ folder of my site and pasted the code that did not give any error, but when I entered my site, that program did not work, why?
@BostJan 07.2022 — #@ISYHACK#1640285 Is it just a small project or is this a website that many people would use? As @coothead said, CCleaner is not supported for every OS, and not everybody has it installed. You would need a "download" button or an automated download first, which still doesn't cross the different operating systems barrier. Also I believe ActiveX is only supported on (especially old) Windows computers/browsers. So all of that makes this only work on some Windows devices.