Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Calling a Program


ghost's Avatar
0 0

I was just wondering if how to make an html or xhtml document run a program when you run it.

lol hope you can understand that:) any way any help is thanked


ghost's Avatar
0 0

you mean using html? Not cgi scripts or javascript or php?

erhm, using just html you could make a clickable link markup<a href="File://C:/dir/file.exe">Clickyme</a>

If you want to run the file automaticly you could use meta-refresh to redirect instantly:

markup<meta http-equiv="refresh" content="0;URL=file://C:/dir/file.exe/" />


ghost's Avatar
0 0

Unless you're thinking of a local website, Its not possible to run a program from an html page, as the viewer would need to have the .exe on their computer in the first place. All html can do is link to it…


ghost's Avatar
0 0

Lol and using JS? lol sry for being so…. unobvious But thank you for the html


Mr_Cheese's Avatar
0 1

to put it simply.

you need the exe on the persons comp to be able to run it via a website.


ghost's Avatar
0 0

Mr_Cheese wrote: to put it simply.

you need the exe on the persons comp to be able to run it via a website.

Yehr that jst about summons it up :happy:

No matter what language, if the person doesnt have the .exe, they cant run it : /


ghost's Avatar
0 0

I thought there was sone kind of IE exploit that let you run programs, not sure if they fixed it or not.


ghost's Avatar
0 0

ActiveX exploit perhaps. However that is considering they have IE


Mr_Cheese's Avatar
0 1

activeX exploits are very old and on majority of systems it will be patched.

if your trying to exploit a windows XP machine with no firewall + SP1 installed + windows firewall disabled + old version of IE.

then it will work.

but other than that, it wont ;)


ghost's Avatar
0 0

if your trying to exploit a windows XP machine with no firewall + SP1 installed + windows firewall disabled + old version of IE.

any 1 running this kinda of system is just asking to be hacked :P


ghost's Avatar
0 0

Lol, who says its a for… questionable purposes? Any way, how is it that you get the person to download a program, without knowing it? if you can:xx: