Advertisement:

Author Topic: Stop Spammer  (Read 828489 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: 60,235
  • 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

Online @rjen

  • Sr. Member
  • ****
  • Posts: 716
  • 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.1 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.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.

  • Full Member
  • ***
  • Posts: 467
  • 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')

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

Offline wwwserfer

  • Semi-Newbie
  • *
  • Posts: 41
Re: Stop Spammer
« Reply #2108 on: November 01, 2020, 07:28:19 AM »
Has anyone encountered these errors?



How to adapt the function to replace the deprecated one?
SMF 2.1 RC 3
PHP 7.3

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,235
  • Gender: Male
    • Kindred-999 on GitHub
Re: Stop Spammer
« Reply #2109 on: November 01, 2020, 07:40:45 AM »
Mod needs to be redesognedfor php 7.3
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 wwwserfer

  • Semi-Newbie
  • *
  • Posts: 41
Re: Stop Spammer
« Reply #2110 on: November 01, 2020, 07:52:46 AM »
Mod needs to be redesognedfor php 7.3

I understood. because of this I am interested. just tried to remake according to templates, found in various FAQs - unsuccessfully))

Offline snoopy_virtual

  • Sophist Member
  • *****
  • Posts: 1,158
  • Gender: Male
    • jcredondosnoopy on Facebook
    • Snoopy Virtual Studio
Re: Stop Spammer
« Reply #2111 on: February 24, 2021, 05:37:07 AM »
Mod needs to be redesognedfor php 7.3

I know and the problem is I continue being too busy with other things to do it myself.

Luckily I have found a friend who is willing to take the mod in his hands and do all the updates needed.

I have already asked the SMF Customization Team to add him as "co-author" so he can manage the mod properly.

I hope all of you will have good news soon.

Cheers
El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Offline Matthias

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
Re: Stop Spammer
« Reply #2112 on: February 25, 2021, 08:55:50 AM »
I have updated this mod:

- Fixed error message "Undefined index: stopspammer_faildb_sub"
- Changes to make the installation work for version 2.0.17
- Changes to make the mod work with php 7.3
- Fixed: The "Check this member" link was visible to everyone in their own profile. Now it is only visible for moderators
- Added css class to the buttons
- Changed text string "Check these members" to "Check Selected Members"
- Changed text string "Report these members" to "Report Selected Members"

https://custom.simplemachines.org/mods/index.php?mod=1547
Quality first

Offline pocttopus

  • Full Member
  • ***
  • Posts: 499
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Stop Spammer
« Reply #2113 on: February 25, 2021, 09:31:49 AM »
- Changes to make the installation work for version 2.0.17
It's not listed 2.0.17 version in compatible list.
So, is this mod working on 2.1rc3?

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,296
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Stop Spammer
« Reply #2114 on: February 25, 2021, 09:36:44 AM »
- Changes to make the installation work for version 2.0.17
It's not listed 2.0.17 version in compatible list.
So, is this mod working on 2.1rc3?

since the current version of smf is 2.0.18, they can't mark past versions as working only current versions can be marked on the mod site as working

Matthias, will you be updating it to work with php 7.4?
and I'm not sure if this mod also had the issue with users that use ipv 6 like httpbl has

Offline Matthias

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
Re: Stop Spammer
« Reply #2115 on: February 25, 2021, 10:41:02 AM »
It works for 2.0.15 - 2.0.18
I have tested it with php 7.3, but will have a look with 7.4
I haven't tested it with IPv6
Quality first

Offline SugarD-x

  • Full Member
  • ***
  • Posts: 409
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: Stop Spammer
« Reply #2116 on: March 03, 2021, 07:21:20 AM »
Personally the top three things that I'm waiting for, (which would be absolutely epic and much appreciated), would be PHP 7.4 (and eventually 8.0) support, IPv6 support, (if not already working), and SMF 2.1 support. That's all that is stopping me from using this wonderful mod again, which has been a godsend over the years in stopping spam on my forums. There aren't any other mods that come close to it, but when coupled with it, the anti-spam capabilities definitely become unstoppable. Right now there isn't really anything available for SMF 2.1, so it'd be awesome if this mod became #1 on that list again. :)

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,296
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Stop Spammer
« Reply #2117 on: March 03, 2021, 10:09:20 AM »
Personally the top three things that I'm waiting for, (which would be absolutely epic and much appreciated), would be PHP 7.4 (and eventually 8.0) support, IPv6 support, (if not already working), and SMF 2.1 support. That's all that is stopping me from using this wonderful mod again, which has been a godsend over the years in stopping spam on my forums. There aren't any other mods that come close to it, but when coupled with it, the anti-spam capabilities definitely become unstoppable. Right now there isn't really anything available for SMF 2.1, so it'd be awesome if this mod became #1 on that list again. :)
+100 :) those are what's stopping me from using this and a few other mods (well not the 2.1), especially the ipv6 issue as I accidently locked myself out of all of my forums  :laugh: because apparently one day I just end up with ipv6 out of no where  :laugh:
i mean sure I myself can disable it on my pc but how many of my users really would know how to do that? So I'm leery to reinstall any of these mods until then.

Offline Onepoint

  • Semi-Newbie
  • *
  • Posts: 10
Re: Stop Spammer
« Reply #2118 on: March 09, 2021, 10:23:21 PM »
How do I uninstall the mod when it warns of errors?

I have not had any issue with it until we just updated to 2.0.18

I am running stop spammer 2.3.9

Then registration was broken and giving errors,   I searched that and found was an issue as far back as 2.0.15. After reading the fix and modding files to to no avail, I want to just uninstall the mod, update SMF and reinstall with the new version if it will work.

The errors list Action   Description
*   1.   Execute Modification   ./Sources/ManageRegistration.php -Test failed
   
*   2.   Execute Modification   ./Sources/ManageMembers.php - Test failed

Any direction on how to proceed would be appreciated.

Offline SugarD-x

  • Full Member
  • ***
  • Posts: 409
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: Stop Spammer
« Reply #2119 on: March 10, 2021, 03:53:43 PM »
How do I uninstall the mod when it warns of errors?

I have not had any issue with it until we just updated to 2.0.18

I am running stop spammer 2.3.9

Then registration was broken and giving errors,   I searched that and found was an issue as far back as 2.0.15. After reading the fix and modding files to to no avail, I want to just uninstall the mod, update SMF and reinstall with the new version if it will work.

The errors list Action   Description
*   1.   Execute Modification   ./Sources/ManageRegistration.php -Test failed
   
*   2.   Execute Modification   ./Sources/ManageMembers.php - Test failed

Any direction on how to proceed would be appreciated.
Take a look at the installation instructions to get an idea of what was modified, and just do the reverse before having the mod uninstall. Make sure you also don't have other mods that applied themselves over those sections, as that could also cause the issue you are having.