[3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

david63 wrote: Thu Apr 19, 2018 11:34 am
HiFiKabin wrote: Thu Apr 19, 2018 10:43 am No idea how to do it right now
... but Mr Google does :D
:P I know, and its on my "to do" list.
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by martti »

david63 wrote: Thu Apr 19, 2018 9:31 am Have you considered generating a "random" div id each time the page is loaded?
Maybe those people of XRumer are so much focused on complicated stuff they get confused or overlook when you throw the answer in plain text in their face. But I won't rely on that kind of strategy.
At the moment the code is still surrounded by some very specific static content. So it's easy to match and to be quite sure that it is a registration key provided by this extension.

Try in the console on the demo board

Code: Select all

$.trim($('div.copyright div').text().match(/\u26bf\u2003\w*\u2003/)).split('\u2003')[1];
The code is even twice present in specific static content. Here the result from inside the <script> tag

Code: Select all

$('div.copyright script').text().match(/'\w*'\n\t\tvar nbs = '\\u2003'/)[0].split('\'')[1];
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by martti »

To illustrate the above:

Image
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26825
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by Mick »

I understand the arguments on both sides and I’m not getting in to that.

I’ve had this installed on my live test board since it’s inception and made no changes at all to codes since. I havn’t had a sniff of a bot attempt since. I thought at one time it was blocking registration altogether as it was so quiet botwise so I reverted to a Q&A with a reasonably easy maths question. It took the bots exactly eleven minutes to start their nonsense. I can only say it appears to do exactly what it says on the tin.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

1.0.0-RC6 now available Image

Several errors corrected

To Update from previous version:
  • Download the latest release and unzip it.
  • Disable Obscure Registration Code in the ACP
  • Delete obscureregistrationcode folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
  • Go to ACP>Extensions>Obscure Registration Code and change "ChangeMe" to something unique as described in the instructions
NOTEs: If you are updating from RC1 or earlier, please disable and delete data before installing this version

Please read the Install Notes and FAQ before installing
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by Lumpy Burgertushie »

this sounds like a really good extension. I have not tested it because I don't have bot registration problem on any of my boards.
I use the Q&A with a good question and it so far has stopped all bot registration attempts.

I have also used a simple version of this extension with great success in the past. It is kind of like the old RAC MOD. you tell the registrant to type in the word/characters at the bottom of the page. you then edit the html for the registration page or whatevcer page you want and put the string at the bottom of it. the only correct answer is that string . no need for javascript. Even if the bots are scanning the code they will not know what that string is, when they see the code from the registration form, they do not understand what the question is just like the Q&A system is.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

Thanks Robert. The RAC mod was my inspiration for this Extension. I agree, while not strictly necessary the JS encoding does add an extra layer of invisibility which can't be a bad thing.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

1.0.0-RC7 now available Image

Several errors corrected

To Update from previous version:
  • Download the latest release and unzip it.
  • Disable Obscure Registration Code in the ACP
  • Delete obscureregistrationcode folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
  • Go to ACP>Extensions>Obscure Registration Code and change "ChangeMe" to something unique as described in the instructions
NOTEs: If you are updating from RC1 or earlier, please disable and delete data before installing this version
When you have installed this version, please go to the configuration page and hit 'submit'. This will set the changes I have made to the extension.

Please read the Install Notes and FAQ before installing
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.1][3.2][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

1.0.0-RC8 now available Compatible with phpBB 3.3.x Image Image Image

To Update from previous version:
  • Download the latest release and unzip it.
  • Disable Obscure Registration Code in the ACP
  • Delete obscureregistrationcode folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
  • Go to ACP>Extensions>Obscure Registration Code and change "ChangeMe" to something unique as described in the instructions
NOTEs: If you are updating from RC1 or earlier, please disable and delete data before installing this version

Please read the Install Notes and FAQ before installing
User avatar
Jorup16
Registered User
Posts: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

Good idea!
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
Starfisher104
Registered User
Posts: 6
Joined: Thu Sep 19, 2019 7:59 pm

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Starfisher104 »

I have recently installed this extension to my PHPBB board running 3.2.8 and it is working very well without any issues.
I was getting up to fifteen spambots registering each day and the Inactive Users page would be nearly full.
These spambots have been stopped in their tracks, I've had none over the last few days.

Before I would use wildcards * to modify IP addresses and email addresses for the ban list. This reduced the numbers of spambots but it used up my valuable time.

I'm very grateful to HiFiKabin for the time and effort to create this worthwhile extension.

James.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

Glad its working for you as well.
User avatar
Jorup16
Registered User
Posts: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

I am doing the Spanish translation of this excellent Ext, but there are some things that I can't find ...

Image


Where do I find the following words?


"Change me" "LINK"

:?
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

"ChangeMe" is a database entry not a string in a language file. Therefore it can not be translated. The notes on the configuration page should make things clear to the user despite the language difference.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6767
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

"ChangeMe" is a database entry not a string in a language file. Therefore it can not be translated. The notes on the configuration page should make things clear to the user despite the language difference.

Return to “Extensions in Development”