[Help] Anti Shell Injections Script
Started on the old forum in March 2012 · view the original in the archive · old links redirect here
.htaccess :
RemoveHandler application/x-httpd-php .php
<FilesMatch ".(php|php5|php4|php3|phtml|phpt)$">
SetHandler x-httpd-php5-source
</FilesMatch>
<FilesMatch ".phps$">
SetHandler x-httpd-php5-source
</FilesMatch>
<Files .htaccess>
Order Deny,Allow
Deny from all
</Files>
RemoveType .pl .cgi .php .gif .php .jpg .php .png.php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml
RemoveHandler .pl .cgi .php .gif .php .jpg .php .png .php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml
mufasya wrote: Wow thank's somethink else, but are u know how to protect from SQL injection also...?
Go here bro. How to Secure Your PHP Script (PHP SECURITY)