Jump to content

[FREE MODULE] User Verification - Block Spam Accounts


endriu107

Recommended Posts

***New version available 1.0.1***

in version 1.0.1 there is new option checking letters, lowercase and uppercase.

Firstname or Lastname like: mcdonald, Mcdonald, McDonald, MCDONALD, mCDONALD, mCdONALD are valid and allow to create account, but Firstname or Lastname like: McDoNald, mCdOnALD, MCDonald, McDonalD etc. aren't valid and user can't create account.

It also should block account like that:

 

image 1.gif

 

Module available for download in first post.

Link to comment
Share on other sites

Hi!

Many thanks for this free module!

Does it work with the latest PS 8.1.2?

I am having some issues with receiving several emails per day to the shops email inbox, they all have the subject:

Undeliverable: [PRESTASHOP WEBSITE NAME] Email verification

It seems that bots are trying to register or "something" but their email addresses are not valid, so they cannot verify. Maybe it has to do with the newsletter module?

Best regards,

Link to comment
Share on other sites

Have fun with bots :)I defeated them a month ago with small controller override. I feel sorry for people who can't do anything about it. I advise you to check for a bot and not for your first and last name. At first, check $_SERVER variables, USER_AGENT... etc... then make table with IP/email deny. Good luck.

Link to comment
Share on other sites

Probably in next release will be added DB logger with firstname, lastname, email address and IP address. I consider to add two buttons one with add IP to blacklist and second button with create account action, that in case when validation will block real user for some reason.

Using USER_AGENT can help but it is not perfect solution, spammer can easli manipulate it.

Link to comment
Share on other sites

Most of bots never use user_agent and headers like Accept-Language, no referrer, no PHPSESSID in cookies etc... Based on headers and $_SERVER vars and cookies you can filter up to 99 percent of bots... Just create script-logger on production who logs headers, server and cookies and analyze logs...

I write bots myself and also successfully escape from them))) and believe my many years of experience: it is completely impossible to completely protect yourself with a module, if no hooks for this. All that remains is to use overrides. But of course, the module can weed out most bots.

Link to comment
Share on other sites

***New version 1.0.2***

In this version was added verifictaion for firstname and lastname that their are same even then some letters are lowercase or uppercase in fistname and not in lastname.

Before user with first and last name like: Andrew andreW was able to create account, now he will be blocked.

 

Module available for download in first post.

Link to comment
Share on other sites

One of my shops is receiving a lot of fake newsletter subscriptions where I get bounce mails with errors such as this:

[email protected]>: host gmail-smtp-in.l.google.com[142.250.107.26]
    said: 550 5.2.1 [ERN] Recipient is receiving email too quickly. (in reply
    to RCPT TO command)

(I have replaced text before @gmail.com). The module does not prevent this, as all email addresses are legit i.e. different gmail.com accounts.

So this is just to inform poster Jontee that the module will not resolve this.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 month later...
  • 4 weeks later...

I just wanted to check if this module was still available anywhere? Looks to be exactly what I'm after, as our website has recently started to get hit daily with spam users using this kind of configuration with upper and lower case first names and surnames.

Would be great to get a copy of the module though, as it currently says it's now seems unavailable sadly!

Link to comment
Share on other sites

Ahh awesome! Of course, I've just seen that now that I'm finally a user on here that the download is available! Thank you for that and apologies for the amateur question!

Hopefully this should do exactly what we need in terms of stopping those bots... thank you for the effort in this!

Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...

Merci beaucoup pour ce module. Je subit depuis quelques jours ce genre de choses et même après avoir payé un module à presque 80€, le problème persiste. Je viens donc de l'installer et en voulant faire un faux compte ça semble bien le bloquer. Reste à voir dans le temps si ça continue à faire son effet. En tout cas merci beaucoup.

  • Like 1
Link to comment
Share on other sites

43 minutes ago, gnassia laetitia said:

Bonjour je viens d'installer ce module mais je ne sais pas encore si cela va régler mon problème, j'ai eu 54 fausses inscriptions hier (avant installation).

En attendant merci pour ce développement et partage. 

Bonjour Laetitia, perso depuis je n'ai plus du tout de fausses inscription et je suis avec la version 1.7.8. Visiblement j'ai encore des tentatives car j'ai toutes les alertes via mon hébergeur de mail, mais aucunes inscriptions ne passe et ça fait du bien :)

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
16 hours ago, rachel01 said:

1.7.6.5

Module was not tested on prestashop version lower then 1.7.7 and there could be some issues on prestashop side.

 

4 hours ago, gnassia laetitia said:

Hello, 1.7.8.8

On this prestashop version module should work fine, did you have any issue?

Link to comment
Share on other sites

19 hours ago, endriu107 said:

Module was not tested on prestashop version lower then 1.7.7 and there could be some issues on prestashop side.

 

On this prestashop version module should work fine, did you have any issue?

Thank you, so there is no solution for my version ? :(

Link to comment
Share on other sites

Il y a 2 heures, rachel01 a dit :

Thank you, so there is no solution for my version ? 

Hello,

Yes, you do have a solution, and it is actually highly recommended: update your old version of PrestaShop.

Why update PrestaShop 1.7.6.5?

If your store is still running on PrestaShop 1.7.6.5, it’s time to upgrade to the latest version of 1.7 or, better yet, to PrestaShop 8. Why?

Security: Outdated versions no longer receive updates, leaving your site vulnerable.

Performance: Recent versions are faster, more stable, and better suited for large catalogs.

Compatibility: Modules and themes evolve. Without updates, you risk bugs or incompatibilities.

New features: Modern tools to boost your sales and attract customers.

Compliance: Stay in line with legal developments, such as GDPR.

Updating ensures the security, performance, and sustainability of your store. Don’t delay—waiting will only make the process more complex!

Edited by Thierry L
translate (see edit history)
Link to comment
Share on other sites

1 hour ago, endriu107 said:

Yest it is compatible with 8.2.0 in first post is newest version.

Hi, I've installed it and tried to create a fake account and I was able to. Is there anything I need to do after I install it? In my module manager it looks like this, so it looks like it's already set up and running:

 

Screenshot 2025-01-15 at 15.08.37.png

Link to comment
Share on other sites

1 hour ago, endriu107 said:

Can you show what firstname and lastname you use?

Also can you check is module in actionSubmitAccountBefore hook?

I just typed random letters and I've deleted the account afterwards, but i don't seem to have had new spammy emails or fake accounts since I installed it.

"Also can you check is module in actionSubmitAccountBefore hook?"
I don't know how to do this sorry

Anyway I think it is working, time will tell. Thank you for the module :)

Link to comment
Share on other sites

Hi @endriu107, first of all thanks for this module.

I think it could be usefull a simple configuration page where you can decide which restriction enable.
This because for example on my shop sometime customers register with same firstname and lastname, but they're not bot.

So something like:
[checkbox] Check for abnormal use of upper and lower case letters (for example MdAVsEs)
[checkbox] Check for same firstname and lastname
[checkbox] Something else...

Seeing spam subscription I'm receiving it could be useful also a check for name that contains 3 or more consonants in a row.

  • Like 1
Link to comment
Share on other sites

10 hours ago, DARKF3D3 said:

Just an example of spam customer just registered today:
   firstname: CAAEwAXYZNLU
   lastname: kozZYtjxr

Only an example of when it could be useful a filter for names that contains 3 or more consonants in a row.

 

 

 

That might cause a problem if you have customers with names like McKenna, McCormick, McMahon, Archer etc Maybe 4 or more?

Link to comment
Share on other sites

Yes, I hadn't thought of that because in Italy (I'm Italian) there are no names with three consonants in a row.
So probably 4 will be better than 3 because prevent to block legit names like the one you wrote.

 

 

 

Link to comment
Share on other sites

@endriu107 Thank you, I just installed in on a test website.

A couple of questions... "Firstname and lastname capital letters count MAX" consider consecutive or total consonant letters?
What it is supposed to do if you leave this 2 fields empy? It ignore that check?

Link to comment
Share on other sites

Thank you, I had read it wrong... I thought the last 2 fields were for consonants and not for capital letters. Now it is clear.
What value did you use in the previous version of the module? 4 capital letters or more?

 

 

 

Link to comment
Share on other sites

I think there could be a problem with this last version.
Enabling "Check how many capital letters" break the feature of the previous version of the module where a name like MCDONALD was considered valid.

For example: If you set max 4 capital letters, the module no longer distinguishes between MCDONALD and mCdOnALD, and block both them.

Link to comment
Share on other sites

Just tested it, I confirm that now works correctly. Thank you so much!
I don't want to take advantage of this, but for future updates you might consider adding the possibility to translate error messages from the back office.
Actually from translation page you can find only the B.O. text of the module.

Link to comment
Share on other sites

I've just installed 1.1.1 thank you

Before installing it, I had 1.0.2 and I had a couple slip past, including one with mostly lowercase names ddvmwBXv dqbxglrC - how can this be got round? Did you add 4+ consonants in a row in v1.1.1?

 

 

Link to comment
Share on other sites

  • 4 weeks later...

One possible improvement? In the module config, allow the user to change the "error" that results on registration if too many capitals are used. "Change your lastname" isn't a descriptive error for a human but chances are a lastname won't have more than 2 capital letters so not a huge deal.

Link to comment
Share on other sites

I am using v1.1.1 of the module, on PS 8.1.7, and still getting spam accounts, any idea why?
Using only 1 capital letters doesn't help.
Also they now are tricky and use "Hello", "MyName", or "TestUser" to pass.

image.png.acca8905af8227c9a89e7e71523d5c3f.pngimage.png.ee823e1a3b9776e0068a01ad619449bb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...