PHP patch exec_dir

Progamming language PHP allows one to limit executing of external commands via configuration directive safe_mode. This directive should contain full path to a directory conatining programs which PHP script can run. If the script tries to execute a command not located in this directory, the command is not executed. This configuration directive is active only if safe mode is enabled, which means more and sometimes unwanted restrictions to users.

PHP has no known possibility to limit executing of external commands with disabled safe mode. Teherefore, here is a patch adding special directive exec_dir straightly into PHP. This directive is very similar to safe_mode_exec_dir, but safe mode has not to be enabled.

This patch limits executing commands via functions from the exec family, i. e. exec(), system() or popen().

Rezensionen

Es sind noch keine Kommentare vorhanden.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
ANG GES G P
Wollen Sie die Verzeichnisse Ihrer Webpräsenz vor ungebetenen Gästen schützen? Mit ScarHTAccess, einem PHP HTAccess Generator, kann jeder ohne ...
ANG GES G P
und mal wieder ein Passwordgenerator zum Beispiel als Service auf eurer HP,wobei man hier ein Password entweder automatisch generieren lassen kan ...
ANG GES G P
Ein neues nützliches Captcha Script, welches eine zufällige Uhrzeit auf einer analogen Uhr anzeigt und diese dann in einem Formular eingegeben w ...
ANG GES G P
Mit diesem Script könnnen sie ihre Passwörter verschlüsseln. Es ist unmöglich es wieder zu entschlüsseln und man kann wahlweise die Zeichenlà ...
ANG GES G P
Mantis Captcha v1.0, ist ein Vollanpassbares Captcha Script das von jedem Benutzer/User erkannt und Gelesen werden kann.   Keine Geschnörgelt ...
ANG GES G P
Mit diesen Scripten können Sie prüfen ob Ausweisnummern richtig sind, das heißt ob die Prüfsummen stimmen, ob der Ausweis noch gültig ist und ...
ANG GES G P
Most PHP developers who sell their scripts know this: After a short time, your script gets cracked by someone and served for download on warez si ...
ANG GES G P
With the "Backup My Webspace" PHP Script you can backup your entire or only parts of your webspace. You will have the option to setup unlimited ba ...
1007 x angesehen
0 x gemerkt
Details zur Anzeige
ANG GES G P
Anfrage stellen

Du bist nicht als Benutzer angemeldet. Bitte gebe Deinen Namen und E-Mailadresse an!

Wird geladen... Bitte warte.
Details zur Anbieter