Im just a noob!
lavalair script holes
Collapse
X
-
Originally posted by kiLLeR-eyEd_14 View Postthe php word is still there..just do a pregmatch of the word..like if(preg_match("/php/i",basename($file))) then invalid extension..Can also use htaccess trick..Just use some head..
as long as its an executable extension the apache server will treat it as such and parse the php code this mostly happens on server built around the default cpanel setup with the old apache and mysql4 etc etc aka ****ty shared hosting
Comment
-
Originally posted by amylee View Posti can still hack a site even with naming a shell script like somefilename.sis
as long as its an executable extension the apache server will treat it as such and parse the php code this mostly happens on server built around the default cpanel setup with the old apache and mysql4 etc etc aka ****ty shared hostingMy Blog: http://jhommark.blogspot.com
My Facebook: http://www.facebook.com/jhommark
My Official Site: http://www.undergroundweb.tk
My Community Site: http://undergroundwap.xtreemhost.com
Comment
-
Originally posted by amylee View Posti can still hack a site even with naming a shell script like somefilename.sis
as long as its an executable extension the apache server will treat it as such and parse the php code this mostly happens on server built around the default cpanel setup with the old apache and mysql4 etc etc aka ****ty shared hostingWait...
sigpic
Comment
-
Originally posted by tres View Postafter saying use ur head! Now your saying you dont know more about it. lol.. Are you joking mr genius killer-eyed_?Last edited by kiLLeR-eyEd_14; 14.09.09, 09:24.My Blog: http://jhommark.blogspot.com
My Facebook: http://www.facebook.com/jhommark
My Official Site: http://www.undergroundweb.tk
My Community Site: http://undergroundwap.xtreemhost.com
Comment
-
make a htaccess page with the following in side it
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Files images>
deny from all
</Files>
<Files *.php>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
<Files *.php.php.*>
deny from all
</Files>
then place it in your share folders this will stop the php pages executing in those folders on your server
Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free
Comment
Comment