ALLservice Service Forum
support board, PC repair, unlocking solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

quick fix - anti spambot phpBB

 
Post new topic   Reply to topic    Service Forum Forum Index -> HTML, PHP, ASP
View previous topic :: View next topic  
Author Message
victor
S.F. Boss


Joined: 07 Mar 2004
Posts: 2581
Location: Staff

PostPosted: Tue Jun 12, 2007 11:08 am    Post subject: quick fix - anti spambot phpBB Reply with quote

Cred ca toata lumea stie ce vulnerabile sunt forumurile la atacurile spam bot-ilor actuali care creeaza conturi la comanda. In phpBB se poate activa si optiunea imaginii de verificare, dar in ultimul timp robotii stiu sa "citeasca" aceste imagini.

In cautarea unui mod de a-i mai opri, am facut o mica modificare la culori si, surpriza..de catva timp putem respira mai linistiti.

In principiu, ar trebuie sa instalati un mod pt a face imaginea cat mai greu de citit, dar necesita timp, teste, etc... Dar, modificand culorile putem face contrastul imaginii originale generate de phpBB sa fie greu de citit pt un bot. E foarte simplu:

1. /includes/usercp_confirm.php se inlocuieste in linia 167

Code:
$new_line .= chr(mt_rand(0, 205)); 

cu

Code:
$new_line .= chr(mt_rand(200, 255));


Astlfel textul va apare cu gri deschis (in loc de negru cum era inainte) pe fond gri.

Foarte eficace pana acum acest quick fix..
_________________
Victor Voinea
ALLservice HQ, Romania.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Service Forum Forum Index -> HTML, PHP, ASP All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group