Eathuz
November 23rd, 2009, 02:25 PM
I've been programming something in C that in cooperation with PHP should make the server create a binary file and afterwards execute it. But since chmod +x is not an option, do you guys have any alternatives, or is it simply a no-go?
A_Fiachra
November 23rd, 2009, 03:26 PM
No go.
That would be a massive security bug!
dwhitney67
November 23rd, 2009, 03:36 PM
I've been programming something in C that in cooperation with PHP should make the server create a binary file and afterwards execute it. But since chmod +x is not an option, do you guys have any alternatives, or is it simply a no-go?
The C-library offers a chmod() function. I'm not sure I quite understand your post in its entirety, namely what is inferred by 'binary file'.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.