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
Use this script in your contact form, for you whois query tool or just there where some extra validation is needed. A session will be created insi ...
ANG GES G P
(FREEWARE) LOGIN SCRIPT ist ein über MySQL-betriebenes Loginscript. Login- und Registrierformular sind im Windows Style.
ANG GES G P
phpSecurePages is a PHP module to secure pages with a login name and password. It can handle multiple user groups (each with their own viewing rig ...
ANG GES G P
Hier die neueste Version des Captchas incl. Kontaktformular. Das Captcha dient dazu, vor Spammern zu schützen. Das Captcha lässt sich in nahezu ...
ANG GES G P
PHP Passwort-Generator ist ein PHP-Script zur automatischen Generierung von Passwörtern. Anhand von Listen können Optionen wie die Anzahl der Pa ...
ANG GES G P
J4L Barcode for Javascript is a set of scripts that create barcodes. The barcodes will be created in the client (browser), there is no need for pr ...
ANG GES G P
stand alone CTracker Xtra Der eigentliche CTracker (stand alone Cracker Tracker), also das Script auf welches mein Projekt hier basiert, kommt vo ...
ANG GES G P
FA-Pass ist eine gute User-Management-Lösung (bzw. ein umfangreicher Passwortschutz) die jeder für seine Zwecke anpassen kann. Funktionsumfang: ...
893 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