 |
 |
| Author |
Message |
HaLo2FrEeEk Overlord Extraordinaire
 Joined: 15 Aug 2006 Posts: 5782 Status: Offline Style: Xbox 360 Location: Trying really hard to do something
|
Post subject: Damn Spam! |
|
|
You might have noticed the increase in spam bot activity around here lately. It's unfortunate, but it's just part of being a forum. A while back we had the same problem and I solved it (temporarily) by adding a new required field to the registration form: a simple checkbox labeled "Are you human?". It worked for a while, but I guess the bot programmers got smart and told the bots to check for that.
So, it was time for a new plan. I already had an existing CAPTCHA system. You know, those annoying random numbers and letters that you have to enter to continue, that thing. The CAPTCHA system is actually really simple, basically when you load the registration page it generates a unique code and id, attaches it to your session ID, then stores it in the database. The code is both the question and the answer. When you submit the form, it passes the confirmation id back to the script along with the code you entered and compares it against the value in the database. If they match, the form validates.
It's too easy though, with computers getting more and more capable, programmers are able to teach their bots to actually read those codes from the image, it's called OCR or Optical Character Recognition, and it's something that's gotten a LOT better over the years. Unfortunately, it also makes CAPTCHAs pretty useless...unlessss........
I devised a simple new system that, instead of the question (and answer) being a random code of letters and numbers, the question is an actual math question, randomly generated. The numbers can be 1-9 and the operator can be plus, minus, multiply, and divide. The script catches instances where the result of the question is not an integer (such as 8/7 which is 1.1428571428.....) or is 0, because entering a zero causes the script to think you're entering a boolean "false", so you're essentially saying "the answer is false" which will always be false, causing it to fail validation.
Anywho, the system uses the existing CAPTCHA system from the forum, with a slight modification to save the question itself as a sting in the database (in order to print it to the image).
It seems to have worked so far, it's been running for about 20 hours and we don't have any spam bots (and there are a lot of failed registration attempts in the database), so hopefully it'll hold steady for a long while.
Just thought I'd let you know about this. It doesn't really affect anyone here, except for that you shouldn't (hopefully) have to deal with the spam bots anymore, which is always a good thing :D _________________

~HaLo2FrEeEk
I wrote:
I'm sexy, admit it.
Are you? |
|
| Sunday, August 7, 2011 9:37:39 pm |
|
 |
| Author |
Message |
s.k. Pure Form

 Joined: 23 May 2010 Posts: 864 Status: Offline Style: Xbox 360 Location: Australia
|
Post subject: |
|
|
Death to the spam! :D!! Good idea though, man. _________________

Pikachu wrote:
Poisonblood wrote:
One time I tickled HaLo2FrEeEks balls with my tongue. But thats a story for a different time.
I hereby declare you a full-fledged faggot.
PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! |
|
| Sunday, August 7, 2011 9:47:14 pm |
|
 |
 |
| Author |
Message |
s.k. Pure Form

 Joined: 23 May 2010 Posts: 864 Status: Offline Style: Xbox 360 Location: Australia
|
Post subject: |
|
|
|
repivemag wrote:
Eh, spam doesn't bug me much. Was kinda funny seeing the really random thread titles all of the sudden. Very nice idea though man, hope it works for good.
\
Yeah, always funny to see with what the spammers...er.. are spamming these days. _________________

Pikachu wrote:
Poisonblood wrote:
One time I tickled HaLo2FrEeEks balls with my tongue. But thats a story for a different time.
I hereby declare you a full-fledged faggot.
PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! |
|
| Monday, August 8, 2011 1:58:09 am |
|
 |
| Author |
Message |
repivemag Elite Combat Form

 Joined: 06 Apr 2011 Posts: 240 Status: Offline Style: Xbox 360 Location: Middle of Nowhere
|
Post subject: |
|
|
|
Eviscerate Core wrote:
Awesome, glad to know we're one step ahead of the computers. Can't let them win this war.
What will we do when they learn how to solve basic math? I know, reading comprehension questions!
"If H2F tricks spambots with math and the spambots fail, who are the spambots?"
Answer: S.K. _________________ That Guy |
|
| Monday, August 8, 2011 3:54:19 pm |
|
 |
 |
| Author |
Message |
s.k. Pure Form

 Joined: 23 May 2010 Posts: 864 Status: Offline Style: Xbox 360 Location: Australia
|
Post subject: |
|
|
|
repivemag wrote:
Eviscerate Core wrote:
Awesome, glad to know we're one step ahead of the computers. Can't let them win this war.
What will we do when they learn how to solve basic math? I know, reading comprehension questions!
"If H2F tricks spambots with math and the spambots fail, who are the spambots?"
Answer: S.K.
Wait, What?! _________________

Pikachu wrote:
Poisonblood wrote:
One time I tickled HaLo2FrEeEks balls with my tongue. But thats a story for a different time.
I hereby declare you a full-fledged faggot.
PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! PROMOTE ME!! |
|
| Monday, August 8, 2011 10:33:45 pm |
|
 |
| Author |
Message |
repivemag Elite Combat Form

 Joined: 06 Apr 2011 Posts: 240 Status: Offline Style: Xbox 360 Location: Middle of Nowhere
|
Post subject: |
|
|
|
s.k. wrote:
Wait, What?!
Haha, wondered if you'd notice that. :P
Joking man _________________ That Guy |
|
| Monday, August 8, 2011 10:55:28 pm |
|
Page 1 of 1
|
|
All times are GMT - 8 Hours
|
|
Display posts from previous:
|
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
|
 |
|
|