View Full Version : safe mode trouble !!
Dj-Grobe
02-19-2006, 02:41 PM
<?php
readfile('/etc/passwd');
?>
I run that script on site and discover no restrictions available on sites?
Any user can see any file around the server, copy or run coomands !!!
why?
I try enable restriction but not work......... ???
Dj-Grobe
02-19-2006, 02:55 PM
By defaul intewrox have safemode off on php.ini ?
Amazing !
IWorx-Paul
02-19-2006, 03:35 PM
Dj-Grobe,
If you want to enable safe_mode you should definately do that. By default when PHP is installed, safe_mode is off. If safe_mode was turned on, /etc/passwd would still be readable via a cgi script, for example. A large number of php scripts don't function with safe_mode on, and if InterWorx turned it on, we would get complaints about that.
This is a decision left to the server administrator.
Paul
Dj-Grobe
02-19-2006, 05:06 PM
thanks mr, just amazing this option its configured to off.
I discover by accident, cpanel, ensim and all panels have that option configured to off, i asume interworx too, just that :)
I undertsand not, and no complaint , just really suprise for me : )
best regards
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.