hey friends i got a phpthumb file.. its working fine for me with images which are not from localhost.. but its giving error in images which are on localhost.. so anybody can suggest anything?? /// and also, how can i stop shell thru my uploader?
help pls
Started on the old forum in January 2010 · view the original in the archive · old links redirect here
First, disallow .php, .php3, and .php4 uploads from any application you may have on your site.
Next, add this line to your .htaccess file in the public_html directory:
*RedirectMatch 404 .php.
Most of the hackers try to crack into your server using functions *exec() *, passthru() , shell_exec() , system() etc. You can disable them by editing php.ini *
vi /etc/php.ini*
Find a line disable_functions in the file and add a new entry
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Restart httpd services
# /etc/init.d/httpd restart
There you go that should solve your problem....8)
BakGat
class Counter {
public:
void Count();
int ReadDisplay();
private:
int CurrentCount;
};
External image (may be gone) External image (may be gone) External image (may be gone)
Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…
how are you referencing the localhost images
do you do:
or
b) http://www. domain .com / image.png
especially if your using windows and you have a router between you and the net if you use the domain name then it can cause problems on the loopback. To solve it you can add a entry in the hosts file pointing your domain name to 127.0.0.1 and that MAY solve your issue.
without a more specific error message there could be 101 things wrong tbh