Originally posted by ewanz
View Post
r57 shell script
Collapse
X
-
Originally posted by DjMatrix View Postlol a lil "please" could be usefull sometimesour lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
-
This is what ozi posted..Make an htaccess file in the upload directory and put this:
PHP Code: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>
Last edited by kiLLeR-eyEd_14; 05.11.09, 15:07.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
-
Originally posted by amylee View Postthats useless, i can execute a phpshell with a sisx, nth, thm extentions with a few modifications to firefox's mime types
as long as the extention is executable the shell can be run unless stopped by a properly configured webserver and not just solely relying on htaccess rules
Comment
-
Originally posted by xola View Postokay and what is the best configuration to stop the excution of the phpshell that we may look out for in a webserver??Last edited by kiLLeR-eyEd_14; 07.11.09, 02:12.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
-
Where can i turn on my safe mode in my serverhttp://myfacepals.com
MYFACEPALS SOCIAL NETWORKsigpic
Comment
-
one code from myside
add it to your upload.php or wheresoever
PHP Code:$fishy = array
(".php", ".php.jpg", ".php.jpeg", ".php.gif", ".php.png",
".phtml", ".php3", ".php4",".js",".js.php",".js.png",".php5", ".js.gif",
".js.jpeg",".vb",".vb.png",".vb.jpeg",".vb.gif", ".sis", ".sisx", ".nth", ".thm");
foreach ($fishy as $item) {
if(preg_match("/$item\$/i", $_FILES['uploaded']['name'])) {
echo "<p align=\"center\">";
echo "Oops seems like you are trying to upload something fishy, <br/>
Sorry we do not allow such files.<br/>";
echo "<a href=\"gallery.php?action=main&sid=$sid\">Back to Gallery</a><br/>";
Comment
-
Originally posted by amylee View Postin php.iniour lfe is simple words....
http://mygenkz.net
ewanz06@yahoo.com
PHP Code:$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
Comment
Comment