Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic [YaBB  2.0|YaBB 2.1] Better Image Valida (Read 2455 times)
ALL
New Member
*
Offline


ALL To Belong Are Base
Your all

Posts: 25
Location: 127.0.0.1
Joined: May 27th, 2005
Gender: Male
[YaBB  2.0|YaBB 2.1] Better Image Valida
Jan 23rd, 2007 at 12:47am
Print Post  
I noticed that i was getting a tun of porn bots and stuff on my site, so i decided to do something about it... When  i turned validation image on it didnt help atall, so i went to investigate and found that you can findout  what the image validation is because it sends it to the browser but lightly encrypted (very eassy to decode).

Anyway i decided to use a random session id and store all the info in a session file. It is crude and my first mod that made it to the beta  stage.

If some of you could test it out and make sure it installs correctly that would be awesome, i tested it on my board and it works  just fine, but  not sure i got all the changes in the mod file (i think i did though).

Thanks and if i dont hear any problems i'll submit it,
-ALL

mod is here: http://www.tkforums.com/validationmod.mod


btw, my site it's installed on is: http://www.tkforums.com
  

Back to top
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: [YaBB  2.0|YaBB 2.1] Better Image Va
Reply #1 - Jan 25th, 2007 at 10:18am
Print Post  
I got some errors at install (steps 1,2,4) and have a question:
Can i use your mod for postvaliadtion for guests also?

Larian
  
Back to top
 
IP Logged
 
ALL
New Member
*
Offline


ALL To Belong Are Base
Your all

Posts: 25
Location: 127.0.0.1
Joined: May 27th, 2005
Gender: Male
Re: [YaBB  2.0|YaBB 2.1] Better Image Valida
Reply #2 - Jan 25th, 2007 at 7:51pm
Print Post  
I will look into the error and post an update in a few days.

The guest validation uses the same function.

On another note, i noticed that bots have only slowed, not cesed, so i am guessing that it might actually read the simple image and findout.  So what i am going to do is have it draw a few  lines or possable random dotts on the image to help against that aswell.
  

Back to top
IP Logged
 
ALL
New Member
*
Offline


ALL To Belong Are Base
Your all

Posts: 25
Location: 127.0.0.1
Joined: May 27th, 2005
Gender: Male
Re: [YaBB  2.0|YaBB 2.1] Better Image Valida
Reply #3 - Jan 29th, 2007 at 3:09am
Print Post  
ok, i found that not all the bots where getting the info that way, so then i  went and was looking at the image creation code...

I found that that is how the bots where doing it. They where physically reading the image, so i began editing it. Here is what i came up with... it is crude, but it works:

http://www.tkforums.com/?action=register

I am not going to release the source for this until i add a few more things like random lines though it.

This actually creates random dotts that are a random color (of the available colors) in random spots on the image. This one is at about 2 random dotts per block (by default a block is 3x3, so about a ~22% chance of it being a random color). It also alternates between 2  base color blocks of each type so 4 different base blocks total randomly.

So in theory the bot would have alot of trouble because of the randomness, but that does not garantee a spam free board. But so with having it up for 1 week now i have not had 1 bot spam (before i was having about 1-2 botts spam per day).
  

Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint