Advertisement:

Author Topic: Anti Bot: Captcha Clock v2.2  (Read 46036 times)

Offline SSimple Team

  • Jr. Member
  • **
  • Posts: 391
  • SMFSimple.com
    • SMFSimple.Com
Anti Bot: Captcha Clock v2.2
« on: March 20, 2008, 06:34:15 PM »
Link to Mod

Anti Bot: Captcha Clock v2.2


Compatible With:SMF 1.1.X - SMF 2 Beta & RC1
Created By:Karl Benson
Developed By:.LORD.
Version:2.2
Languages:English

A new and unique Anti-Bot Registration Check. Rather than getting registrants filling in letters, have them tell the time on a clock.

Quote from: Karl Benson
It is a cat and mouse game between forum software and bot-creators to secure forums against spam bots.
Using generic/centralised anti-spam measures makes it viable for bot-creators to try to get past them.
If every forum employs completely different anti-bot measures it makes it almost impossible to create bots for mass-automated registration.

Some people think that this MOD is "ugly".
I have tried to make it more agreeable for humans without decreasing the difficulty for bots.
I deleted effects little or not detrimental for bot, and unpleasant for people.
And I added other effects more annoying to bots and less for humans.


Version 2.0: Work for SMF 1.1.X and SMF 2 Beta & RC1 and many more (See ChangeLog)

Code: (CHANGELOG) [Select]
2.2 - 23th May 2009
o Now the page in cache is ignored and alwys is reloaded.
  It is useful against "Send Form" and "Go Back".
o Have been added an error message that notified that the page has expired
o Some images have been improved
2.1 - 11th May 2009
o Add change to improve the security - tranks szcoder for notify
2.0 - 2nd May 2009
o .LORD. Take the development
o Work for SMF 1.1.X and SMF 2 Beta & RC1
o You can enable and disable this MOD in: Members > Registration > Settings
o Also You can Configurate this MOD
o Fix bug drawing the hour hand (your users couldn't register)
o Changed and improve some code
o The ABClock.php have been remade
o Changed the drawing clocks's (clocks more cute for humans and effectives with bots)
- The dots (noise) have been eliminated.
- The effects colorized have been eliminated.
- The effects have been disable. (FILTER_GRAYSCALE and FILTER_MEAN_REMOVAL eliminated).
+ The radial lines (noise) have been added.
+ The reloj rotate in a range angles.
+ A new reloj have been added, and new images added.
+ Effect cristal. Cute for humans, noise for bots (can be improved)
1.0 - 20th March 2008
o Initial release
o Creates a clock from several different face and hands sets
o Utilizes new gd functions in PHP5 to colorize and style the clock
o Generates a different clock and time each time.

REQUIRED: A manual edit is REQUIRED for ALL themes (other than SMF Core Default) which have a custom Register.template.php
If you don't do perform the edit, nobody will be able to register using those themes.

REQUIRES Minimium:
- PHP >= 4.3.2 & GD Library 2.0.34 (or newer)
- Do NOT install the mod if your server does not meet the minimum requirements.
- To check what GD Library your server has goto Admin > Support & Credits
- If you get an all black image or it doesn't appear correctly, you might have a dodgy version of the library.
Please do NOT ask me how to install GD library or upgrade it.  I don't know.
« Last Edit: September 02, 2009, 08:42:07 PM by .LORD. »




Mi Web: SMFSimple.com -

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anti-Bot Clock
« Reply #1 on: March 20, 2008, 06:35:42 PM »
{post reserved for possible info later}

Offline Eliana Tamerin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,611
  • Gender: Female
Re: Anti-Bot Clock
« Reply #2 on: March 20, 2008, 06:37:27 PM »
Awesome mod, Karl. Another weapon against spambots is out there!

I've got it up at my smf 2.0 test site along with Karl's ABRP mod too. Works perfectly! :D

Thanks again, Karl.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Offline Yağız...

  • SMF Super Hero
  • *******
  • Posts: 10,811
  • Gender: Male
    • MMO Browser
Re: Anti-Bot Clock v1.0
« Reply #3 on: March 20, 2008, 06:45:54 PM »
Nice mod Karl.
Turkish language:

Modifications.turkish.php
Code: [Select]
$txt['abclock'] = 'Saat kaç?';
$txt['abclock_desc'] = 'Bir başka Anti-Bot ölçümü';
$txt['abclock_format1'] = '00:00 formatında girin';
$txt['abclock_format2'] = 've en yakın 5 dakika örn: 04:25';
$txt['abclock_incomplete'] = 'Anti-bot saatini girmediniz. Lütfen tekrar deneyin.';
$txt['abclock_incorrect'] = 'Anti-bot saatine yanlış cevap verdiniz. Lütfen tekrar deneyin.';
$txt['abclock_howtoreadaclock'] = 'Saat nasıl okunur';

Modifications.turkish-utf8.php
Code: [Select]
$txt['abclock'] = 'Saat kaç?';
$txt['abclock_desc'] = 'Bir başka Anti-Bot ölçümü';
$txt['abclock_format1'] = '00:00 formatında girin';
$txt['abclock_format2'] = 've en yakın 5 dakika örn: 04:25';
$txt['abclock_incomplete'] = 'Anti-bot saatini girmediniz. Lütfen tekrar deneyin.';
$txt['abclock_incorrect'] = 'Anti-bot saatine yanlış cevap verdiniz. Lütfen tekrar deneyin.';
$txt['abclock_howtoreadaclock'] = 'Saat nasıl okunur';

Offline Lillianna

  • Newbie
  • *
  • Posts: 1
  • Gender: Female
  • Free Spirit
    • The Earthen Path
Re: Anti-Bot Clock v1.0
« Reply #4 on: March 21, 2008, 05:45:35 AM »

Analog clocks stumping digital bots...Brilliant! 

Offline ALEJO

  • Jr. Member
  • **
  • Posts: 160
    • Buzarda
Re: Anti-Bot Clock v1.0
« Reply #5 on: March 21, 2008, 12:26:27 PM »
u should make the numbers on the lock random, cause i think that is easy to a bot to check the arrows positions
solo el mas paranoico sobrevive

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anti-Bot Clock v1.0
« Reply #6 on: March 21, 2008, 01:46:49 PM »
I think that might make it too complex.

Some people might struggle to read the time as it is.

Although possibly some more lines could be added to the clock face to throw off bots.  Plus more different types of clock hands.

Offline Gantry

  • Jr. Member
  • **
  • Posts: 127
    • Carcassonne Central
Re: Anti-Bot Clock v1.0
« Reply #7 on: March 21, 2008, 04:33:57 PM »
If you are looking for suggestions (not that you've asked) - rather than randomize the numbers as alejo said, you could just rotate the entire clock up to 90 degrees in either direction. It would still be completely readable, but then the hand positions could not be read as they could be out by as much as 3 hours in either direction. (90 degrees = 3 hrs from 12).

Aside from that suggestion, I wanted to congratulate you, well done!

Offline Joomlamz

  • SMF Hero
  • ******
  • Posts: 2,628
  • Gender: Male
  • Suporte SmfPT
    • apllicmz on Facebook
    • apllicmz on GitHub
    • https://www.linkedin.com/in/aplic on LinkedIn
    • @aplichosting on Twitter
    • Webdesign
Re: Anti-Bot Clock v1.0
« Reply #8 on: June 15, 2008, 03:48:45 AM »
Nice work
Translate Portuguese and brazilian and support utf8

Code: [Select]
<file name="$themedir/languages/Modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['abclock'] = 'Qual é a hora no teu relógio?';
$txt['abclock_desc'] = 'Outra medida anti-Bot';
$txt['abclock_format1'] = 'Por favor, introduza a hora, no formato 00:00';
$txt['abclock_format2'] = 'and to the nearest 5 minutes eg 04:25';
$txt['abclock_incomplete'] = 'Você não completaram o processo anti-bot relógio. Por favor, tente novamente.';
$txt['abclock_incorrect'] = 'Você responde incorretamente o anti-bot relógio. Por favor, tente novamente.';
$txt['abclock_howtoreadaclock'] = 'Como ler um relógio';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['abclock'] = 'Qual é a hora no teu relógio?';
$txt['abclock_desc'] = 'Outra medida anti-Bot';
$txt['abclock_format1'] = 'Por favor, introduza a hora, no formato 00:00';
$txt['abclock_format2'] = 'and to the nearest 5 minutes eg 04:25';
$txt['abclock_incomplete'] = 'Você não completaram o processo anti-bot relógio. Por favor, tente novamente.';
$txt['abclock_incorrect'] = 'Você responde incorretamente o anti-bot relógio. Por favor, tente novamente.';
$txt['abclock_howtoreadaclock'] = 'Como ler um relógio';
]]></add>
</operation>
</file>

Code: [Select]
<file name="$themedir/languages/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['abclock'] = 'Qual &eacute; a hora no teu rel&oacute;gio?';
$txt['abclock_desc'] = 'Outra medida anti-Bot';
$txt['abclock_format1'] = 'Por favor, introduza a hora, no formato 00:00';
$txt['abclock_format2'] = 'e para a aproxima&ccedil;&atilde;o de 5 minutos por exemplo 04:25';
$txt['abclock_incomplete'] = 'Voc&ecirc; n&atilde;o completaram o processo anti-bot rel&oacute;gio. Por favor, tente novamente.';
$txt['abclock_incorrect'] = 'Voc&ecirc; responde incorretamente o anti-bot rel&oacute;gio. Por favor, tente novamente.';
$txt['abclock_howtoreadaclock'] = 'Como ler um rel&oacute;gio';
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['abclock'] = 'Qual &eacute; a hora no teu rel&oacute;gio?';
$txt['abclock_desc'] = 'Outra medida anti-Bot';
$txt['abclock_format1'] = 'Por favor, introduza a hora, no formato 00:00';
$txt['abclock_format2'] = 'e para a aproxima&ccedil;&atilde;o de 5 minutos por exemplo 04:25';
$txt['abclock_incomplete'] = 'Voc&ecirc; n&atilde;o completaram o processo anti-bot rel&oacute;gio. Por favor, tente novamente.';
$txt['abclock_incorrect'] = 'Voc&ecirc; responde incorretamente o anti-bot rel&oacute;gio. Por favor, tente novamente.';
$txt['abclock_howtoreadaclock'] = 'Como ler um rel&oacute;gio';
]]></add>
</operation>
</file>



Offline designer.roger

  • Newbie
  • *
  • Posts: 5
Re: Anti-Bot Clock v1.0
« Reply #9 on: July 01, 2008, 05:30:29 PM »
Hey!,

http://www.simplemachines.org/community/index.php?topic=229650.0

I installed this clock thingy yesterday, and today i tryed to remove it but i got a problem. When i uninstalled it its still on the registration page and idk how to remove it. I also tryed to reupload the plugin and then uinstall it agan to see if it would go away. But it did not go away, instead i got 2 clocks now and i really need your guys help to remove it from my reg page.

The url to ur homesite is hxxp:fridaynightcranks.com/forum/index.php [nonactive]

Version Information:
Forum version: SMF
Current SMF version: SMF 1.1.5

Thanks for everybodyes help if theres someone here who can help me.
« Last Edit: July 01, 2008, 06:01:16 PM by designer.roger »

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anti-Bot Clock v1.0
« Reply #10 on: July 01, 2008, 07:23:53 PM »
There is probably an issue with chmod permissions that prevented the mod being uninstalled automatically.

Unfortunately this means you'll have to do it manually by undoing the edits found here
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1134;attach=52169;smf_version=1.1.5

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,014
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anti-Bot Clock v1.0
« Reply #11 on: April 15, 2009, 11:39:26 PM »
Are you aware that this mod works fine in 1.1.8? No admin CP options if there's supposed to be any, but I just tried it and it works fine for me.

Offline .LORD.

  • Jr. Member
  • **
  • Posts: 131
  • Gender: Male
Re: Anti Bot: Captcha Clock v2.0
« Reply #12 on: May 02, 2009, 12:34:47 PM »
Hi

This MOD have been updated.

Now work fine in SMF 1.1.X and SMF 2 and have new features and fix a little bug.

More info in the changelog   :)
« Last Edit: May 02, 2009, 12:40:07 PM by .LORD. »

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,014
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anti Bot: Captcha Clock v2.0
« Reply #13 on: May 02, 2009, 04:35:52 PM »
Works for me. I had to edit register.php, but that was no big deal and I had to move the clock images to my themes folder, but neither was that. Works fine.

Offline .LORD.

  • Jr. Member
  • **
  • Posts: 131
  • Gender: Male
Re: Anti Bot: Captcha Clock v2.0
« Reply #14 on: May 09, 2009, 07:10:17 PM »
Works for me. I had to edit register.php, but that was no big deal and I had to move the clock images to my themes folder, but neither was that. Works fine.

I am pleased that it work for you :)

PS: I thought it wasn't necessary move the images to folder custom theme.

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,014
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anti Bot: Captcha Clock v2.0
« Reply #15 on: May 10, 2009, 04:30:22 PM »
Works for me. I had to edit register.php, but that was no big deal and I had to move the clock images to my themes folder, but neither was that. Works fine.

I am pleased that it work for you :)

PS: I thought it wasn't necessary move the images to folder custom theme.

I'm an airhead. I would've sworn I got no image until I stuck that folder in the theme directory, but I just renamed it there and it works so... you're right :-[

Offline dr.wills

  • Jr. Member
  • **
  • Posts: 137
Re: Anti Bot: Captcha Clock v2.0
« Reply #16 on: May 10, 2009, 04:47:20 PM »
a new way to prevent spams :)

wonder if it works for RC2?
http://movies-on-mediafire.com

Never dying collection of high definition mediafire movies link

Offline .LORD.

  • Jr. Member
  • **
  • Posts: 131
  • Gender: Male
Re: Anti Bot: Captcha Clock v2.0
« Reply #17 on: May 11, 2009, 07:17:38 PM »
A new version have been released.

This version improve the security (tranks szcoder for notify). Please update.



a new way to prevent spams :)

wonder if it works for RC2?

RC2? XD

In SMF 2 RC1 yes :)

Offline yosemite

  • Newbie
  • *
  • Posts: 9
Re: Anti Bot: Captcha Clock v2.1
« Reply #18 on: May 25, 2009, 12:00:30 PM »
hi

can you tell me where to configure this mod for registration? it shows installed under packages but there is no option at registration>settings

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,014
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anti Bot: Captcha Clock v2.1
« Reply #19 on: May 25, 2009, 12:38:25 PM »
Quote
REQUIRED: A manual edit is REQUIRED for ALL themes (other than SMF Core Default) which have a custom Register.template.php
If you don't do perform the edit, nobody will be able to register using those themes.
:)

If that doesn't apply to you check the package parser against your files to make sure all the edits are correct.
« Last Edit: May 25, 2009, 12:41:43 PM by Tiribulus »