Post by antmagn » Sun Mar 17, 2024 2:12 am

Hello everyone,
I get lots of fake accounts with the same firstname and lastname pattern, it's like this example:

first name: ShaneReeli , lastname: ShaneReeliHI
first name: RobinHag, lastname: RobinHagQO

I have some basic knowledge of programming , so I guess I could put an if statement for all those fake accounts, something like below:

if (substr(firstname,0,firstname.length) == (substr(lastname,0,firstname.length)
{...
return error
}

to get an error on registration form and stop those fake account registrations....what do you think? Can you help me write this, but I do not know the exact file to put this if statement...is it at the register.php file?

I also have captcha on registration for, but it does not seem to help...

Thank you in advance,
Tonia

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by JNeuhoff » Sun Mar 17, 2024 3:18 am

Our SpamBot Buster is able to eliminate spambots' fake account registrations, as well as spam mails via the Contact Us page. Traditional captchas are often overcome quite easily by modern spambots.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by kirkhall » Mon Mar 18, 2024 3:43 am

I had the same exact thing going on. The formatting of the names was exactly the same as the OP. Obviously some kind of routine they run on Opencart sites.
My developer got it taken care of but I do occasionally still get one as I did today but somehow he got it to where they can't keep doing it over and over on the same day.
But what is the end game for doing this? I mean why do they do it, what do they hope to achieve? It doesn't make sense. So you created a bunch of accounts and I'm annoyed, and had to delete them all. But now what? Is it just to annoy site admins?

Active Member

Posts

Joined
Thu May 22, 2014 11:31 am

Post by ADD Creative » Mon Mar 18, 2024 5:51 pm

The file would be catalog/controller/account/register.php. You would need to add to function validate.

Code: Select all

if ($this->request->post['firstname'] == substr($this->request->post['lastname'], 0, strlen($this->request->post['firstname'])) {
	$this->error['lastname'] = $this->language->get('error_lastname');
}
However there are probably better ways to stop the fake registrations.

One explanation I have seen as to why they do it is to send out registration emails. They use many sites to fill up a victim's mailbox, hoping they will then not see other important emails.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by antmagn » Wed Mar 20, 2024 12:22 am

thanks guys I will try everything you suggested....suddenly things got quite when I added some anti bot list to .htaccess file from GitHub....

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by paulfeakins » Wed Mar 20, 2024 8:26 pm

antmagn wrote:
Wed Mar 20, 2024 12:22 am
suddenly things got quite
So if all is ok now, please add [SOLVED] to the start of this post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 20 guests