Jump to content
karencho

php exec in windows

Recommended Posts

Hello i have a question ,i am runnig Windows 7 i dont have installed no php ,no apache or other web server .... so i am wondering with php exec  can i run exe file on my system through web site ,for example click on link and it will run exe ?? or need to be installed php on the system?

Share this post


Link to post
Share on other sites

Um, what?

 

What you describe sounds an awful lot like malware, so it might be helpful to explain why you need this strange setup. What is this executable? Why should it be started from a website?

 

A website can't just run executables on arbitrary PCs. That would be horrible.

Share this post


Link to post
Share on other sites

i dont want to run ,i just want to know is that possible,because if it is it will be catastrofic

Share this post


Link to post
Share on other sites

So this a security question?

 

A PHP process on some server has no access to your system. Calling exec() only executes programs on the server. It doesn't magically start programs on other machines.

 

Compromising your system through a website requires either a browser vulnerability or a network-related vulnerability. Neither has anything to do with PHP.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.