karencho Posted November 9, 2016 Share Posted November 9, 2016 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? Quote Link to comment https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/ Share on other sites More sharing options...
Jacques1 Posted November 9, 2016 Share Posted November 9, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539152 Share on other sites More sharing options...
karencho Posted November 9, 2016 Author Share Posted November 9, 2016 i dont want to run ,i just want to know is that possible,because if it is it will be catastrofic Quote Link to comment https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539154 Share on other sites More sharing options...
Jacques1 Posted November 9, 2016 Share Posted November 9, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539156 Share on other sites More sharing options...
karencho Posted November 9, 2016 Author Share Posted November 9, 2016 thanks ,yes i saw some videos on youtube and was in shok ,yes security question,thaks a lot Quote Link to comment https://forums.phpfreaks.com/topic/302500-php-exec-in-windows/#findComment-1539157 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.