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
Umfangreiches Umfrage Script mit sehr vielen Einstellungsmöglichkeiten. Benötigt mySQL Datenbank. Screenshots und komplette Featuresliste auf us ...
ANG GES G P
PHP Server Monitor ist ein Skript, das prüft, ob Ihre Websites und Server betriebsbereit sind. Es verfügt über eine webbasierte Benutzeroberflà ...
ANG GES G P
Ein einfaches Login-Script. Arbeitet mit Session-ID's und verhindert so, dass die Daten vor unbefugten nicht einsehbar sind.
ANG GES G P
What is ApPHP WebsiteCleaner? This script is a very simple and fast utility allows you to clean your website from unneeded files and from malwar ...
ANG GES G P
The PHP firewall generator is a simple PHP script that generates a firewall script for ipchains-based firewalls. The aim is to support an easily c ...
ANG GES G P
The Accelerator is an easily installed and free plugin extension to PHP that can make PHP scripts run faster by typically 2 to 3 times. It does th ...
ANG GES G P
Progamming language PHP allows one to limit executing of external commands via configuration directive safe_mode. This directive should contain fu ...
ANG GES G P
Wieder mal was Neues aber alte Geschichte (-: Eine Userregistrierung und Login . Es ist eine Erweiterung meines LoginPass V.1 . Die Userdaten w ...
306 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