问题描述:

Hello all please help me with this i have a windows server which i can access with RDP and i can see the whole windows xp i have a exe file in "c" drive there under the folder name exe and i want to run it when i click on a button of a website.

The site is on php and it is on different server i have all the rights of both the server .

I have no idea how to do it.

Like i can run that exe from the server by RDP with command prompt with this parameter like file.exe='test' but i have no idea how to do this from the website please give me anything which can help me out with this .

网友答案:

You can use that:

exec('md c:\temp\\'.$_GET['home_dir']);

take care to command injections

相关阅读:
Top