MyBB Community Forums

Full Version: Captcha Using To Much CPU From Spambots
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a test site http://rickmick.com. I have added my own php captcha by modding newthread.php , newreply.php and the post_captcha template. After a guest solves it one time the captcha disappears for 12 hours and they have to solve it again. It has stopped spambots dead in there tracks.

The thing is the script still spawn CPU time when it's requested. I have taken care of it for now by banning a county and some ip's but it may happen again.

My question is, is there something that I can add to stop them from doing this?

Below is a letter from my host provider.

Quote:Regarding the restrictions that were most recently triggered via this account, it appears that the IP addresses, 93.174.95.60 and 37.187.73.216 severely spammed the site with requests:

Top requesting IP Addresses based on count:
COUNT: 7043 / 47.36% IP: 93.174.95.60 HOST: Unknown Host
COUNT: 4658 / 31.32% IP: 37.187.73.216 HOST: ns3362724.ip-37-187-73.eu


Keep in mind that a php-based captcha application will still spawn CPU time when requested even though it may prevent bots from signing up. It is therefore advisable that the aforementioned IP addresses be denied at the http level as well. Instructions detailing how to deny an IP address from within cpanel can be found at

If you need the script I will post it.

Thanks,
You can use .htaccess to block spambots that you know the IP for.
(2014-06-01, 03:23 PM)dragonexpert Wrote: [ -> ]You can use .htaccess to block spambots that you know the IP for.

I have done that but there are hundreds of spambots ip's that are doing this. I could never ban them all because they have an unlimited supply of ip's. The captcha blocks them from posting but is using up the cpu to do so many requests..