/    Sign up×
Community /Pin to ProfileBookmark

code that will open file on the computer when you enter my site?

I have a site. Can you tell me a code that will open CCleaner.exe on the computer when you enter my site?

to post a comment
JavaScript

10 Comments(s)

Copy linkTweet thisAlerts:
@cootheadDec 07.2021 — Hi there ISYHACK,

there is no code that would open [b]Ccleaner.exe[/b] on my

computer when I went to your site or anyone else's

I see that your username has [b]HACK[/b] in it, is that your

intended aim?.

If so, it is quite likely that administrators or moderators

will show you the door and ask you to close it on the way

out.

[i]coothead[/i]
Copy linkTweet thisAlerts:
@BostDec 07.2021 — @ISYHACK#1640285 It might be possible with wscript shell. I found this Stack Overflow post from a quick Google search:

https://stackoverflow.com/questions/15351508/using-a-wscript-shell-activex-to-execute-a-command-line

The code they used is
``javascript<i>
</i>function callShellApplication(){
var objShell = new ActiveXObject("WScript.shell");
objShell.run('"C:filePath");
}<i>
</i>
``
Copy linkTweet thisAlerts:
@cootheadDec 08.2021 — Hi there Bost.

for [i]ISYHACK[/i] to open [b]Ccleaner.exe [/b] on your PC they

would first have to [b]install it[/b]. Neither would be at all

possible unless, for some masochistic reason, you

were to personally invite them to [b]hack[/b] your computer.

[i]coothead[/i]
Copy linkTweet thisAlerts:
@cootheadDec 08.2021 — ...as a matter of mild interest, my OS is Linux Mint 19.3

and [b]CCleaner[/b] is not made for any Linux OS.

[i]coothead[/i]
Copy linkTweet thisAlerts:
@ISYHACKauthorDec 08.2021 — @Bost#1640292 function 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?
Copy linkTweet thisAlerts:
@cootheadDec 08.2021 — @ISYHACK,

how many times do I have to tell you that websites have

no access to PC operating systems [b]unless the owners of

PC operating systems, for masochistic reasons, were to

personally invite them to [size=18][color=red]hack[/color][/size] their computers[/b]
.

I would suggest that you start to use your little grey cells

in serious contemplation.

[i]coothead[/i]
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@BostJan 12.2022 — @ISYHACK#1640322 Are you sure that you put a script code block in the HTML?
Copy linkTweet thisAlerts:
@ISYHACKauthorJan 22.2022 — @Bost Alright. Is there any other way to open a file when entering the site?
Copy linkTweet thisAlerts:
@ISYHACKauthorJan 22.2022 — @coothead#1640328 sg
×

Success!

Help @ISYHACK spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...