Jump to content

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?

Link to comment
https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/
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.

Link to comment
https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539152
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.

Link to comment
https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539156
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.