Advertisement:

Author Topic: Stop Spammer  (Read 815903 times)

Offline EL34

  • Jr. Member
  • **
  • Posts: 310
Re: Stop Spammer
« Reply #2100 on: July 26, 2020, 11:22:36 AM »
Add good questions and you will cut down on the number of spammers that even get to the point of needing approval by 90%

Does not stop them.
I have 8 questions and I rotate them all the time.

And here is what it looks like this morning


Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,515
  • Gender: Male
    • Kindred-999 on GitHub
Re: Stop Spammer
« Reply #2101 on: July 26, 2020, 10:58:29 PM »
Then they are not good questions.
Seriously, I have maybe 2-3 spammers even get to the stop spammer check in any month....   and this is over the past 3 years

30 questions,  ask 2 during registration- change them every 12-18 months
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline EL34

  • Jr. Member
  • **
  • Posts: 310
Re: Stop Spammer
« Reply #2102 on: July 27, 2020, 07:56:38 AM »
Then they are not good questions.
Seriously, I have maybe 2-3 spammers even get to the stop spammer check in any month....   and this is over the past 3 years

30 questions,  ask 2 during registration- change them every 12-18 months

Sounds like your forum is not being directly targeted like mine is

Look at these 4 sample questions out of 9 I have
What is wrong with these?



Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

Offline @rjen

  • Full Member
  • ***
  • Posts: 629
  • Gender: Male
    • FJR-club Nederland
Re: Stop Spammer
« Reply #2103 on: July 27, 2020, 08:33:06 AM »
Just a note: those questions are fine.

Another question though: how long have you had these questions in place?

My experience is that once in a while my questions get 'catalogued' and from then on are systematically broken. Assuming that these spam services have some humans employed that figure out the questions and answers and put them into a database for the bots to use...
Solution is to change the questions slightly (actually just changing one word or adding a letter in the question does the trick) and the bots a are not coming for a while (up to a few years in my case), until the question is catalogued again and I have to change the questions again...
Running SMF 2.0 with Tinyportal 2.0.0 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.0.0 at test2.fjr-club.nl

Offline EL34

  • Jr. Member
  • **
  • Posts: 310
Re: Stop Spammer
« Reply #2104 on: July 27, 2020, 08:50:22 AM »
Just a note: those questions are fine.

Another question though: how long have you had these questions in place?

My experience is that once in a while my questions get 'catalogued' and from then on are systematically broken. Assuming that these spam services have some humans employed that figure out the questions and answers and put them into a database for the bots to use...
Solution is to change the questions slightly (actually just changing one word or adding a letter in the question does the trick) and the bots a are not coming for a while (up to a few years in my case), until the question is catalogued again and I have to change the questions again...

Thanks, I knew they were good formulas  for questions :)

What I do is rotate the 9 questions around once in a while and change a letter or two in them
I just rotated them again today and changed some answers

But it will not be long again before that is no longer effective

I still think that my solution of rejecting membership if email AND user name come up in the database
You can plainly see in my screen shot that this would have stopped all those phony registrations
And there were 6 more this morning

I can fiddle with the code and test it
Has anyone had a look at the StopSpammer.php file?
Just curious where such a decision would be made in the code?
Thanks

Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

Offline EL34

  • Jr. Member
  • **
  • Posts: 310
Re: Stop Spammer
« Reply #2105 on: July 27, 2020, 02:02:58 PM »
I had a look at the StopSpammer.php file

This function checks the spam DB in the StopSpammer.php file
Code: [Select]
function checkDBSpammer($check_ip, $check_name, $check_mail, $test = false)

The Register.php file calls the function listed above

Code: [Select]
// Is Spammer? Then should be approval
if ($modSettings['stopspammer_enable'])
{
require_once($sourcedir . '/StopSpammer.php');
if ($regOptions['spammer'] = checkDBSpammer($user_info['ip'], $_POST['user'], $_POST['email']))
{
$regOptions['require'] = 'approval';
$modSettings['registration_method'] = 2;
if ($regOptions['spammer'] != 8)
updateSettings(array('stopspammer_count' => ++$modSettings['stopspammer_count']), true);
}
}

It looks like this is where you would reject the registration request if user name and ip are both in the spam database?
Anyone want to take a crack at modding this code?

Thanks
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

Offline EL34

  • Jr. Member
  • **
  • Posts: 310
Re: Stop Spammer
« Reply #2106 on: July 29, 2020, 06:31:56 AM »
Just an update on the subject about shuffling questions and changing them every so often

Two days ago I shuffled 5 of the 9 questions
And I changed the answers

It worked for one day
Here is what it looks like this morning

Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

Offline Shades.

  • Jr. Member
  • **
  • Posts: 360
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Stop Spammer
« Reply #2107 on: September 12, 2020, 04:27:35 PM »
In Managemembers.php I cant change:
Code: [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && empty($_POST))to
Code: [Select]
if ($context['sub_action'] == 'query' && !empty($_REQUEST['params']) && (empty($_POST) || ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))))
Heres that section in my Managemembers.php
Code: [Select]
if ($context['sub_action'] == 'query' && empty($_POST))
{
if (!empty($_REQUEST['params']))
{
$_POST += safe_unserialize(base64_decode($_REQUEST['params']));
}
elseif ($context['browser']['is_ie'] && !empty($_SESSION['params']))
{
$_POST += $_SESSION['params'];
unset($_SESSION['params']);
}
}

// Check input after a member search has been submitted.
if ($context['sub_action'] == 'query')
Haven't been online in a few years so please excuse me, I'm a little rusty!

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean