YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 ... 3 4 5 6 
Topic Tools
 
PMs from Ex-Members (Read 13,117 times)
 Reply #60 - Nov 22nd, 2011 at 1:57am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
Okay, the good news is that I have just recreated this, so I can see it happening myself.

But... I'm still 'fairly' sure that my solution in my last post fixes it. Are you absolutely sure that you totally removed this code (I'm guessing that you have two instances of it now):

Code (Perl)Select All
    if ($check_sfs_username || $check_sfs_ip || $check_sfs_email) {
        require "$sourcedir/StopForumSpam.pl";
        $sfs_username = $member{'regusername'};
        $sfs_email = $member{'email'};
        &CheckForumSpam;
    } 


And added it directly before this line:

Code (Perl)Select All
    &ToHTML($member{'language'}); 


That solves it for me...
« Last Edit: Nov 22nd, 2011 at 1:58am by Derek Barnstorm »  
 
IP Logged  
 Reply #61 - Nov 22nd, 2011 at 2:21am
There are no actions to perform.  

corvettec3 
YaBB Newbie
*
Offline
Posts: 38


None
Re: PMs from Ex-Members
Derek, is the post above meant for Jon or myself?  And according to my watch, you should be in bed now  Smiley
« Last Edit: Nov 22nd, 2011 at 2:22am by corvettec3 »  
 
IP Logged  
 Reply #62 - Nov 22nd, 2011 at 3:01am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
It was meant for Ron really, but I guess you too if you did want to double check. I'd appreciate it if you guys could let me know if it fixes it anyhow.

Just to explain a little more what was going on - Some malicious users are obviously attempting to upload something through the email field:

Code Select All
file_links[d:xr-dataseogyy@gmail.com.txt1l] 


And it was being added to the ban list before it was being checked for being a valid email, so one of the characters was buggering up the settings. Adding it to the ban list after it has been checked to be valid is hopefully going to fix it.

The 'Auto-ban both IP Address and Email Address if either one matches?' option will ban the email address even if it isn't in the SFS database but the IP is, and visa versa - if that makes sense.

If it's only banned if it is in the database, then it would be already tested by SFS to be valid. It seemed to slip my mind that anything entered into the email field was going to be auto-added to the ban list with no checks. Embarrassed

I personally don't have that option enabled on my test/demo board - I only add them to the ban list if they do match emails in the database. But it's obviously up to you how strict you want to be.

Oh, I'm a night owl by the way. Smiley

« Last Edit: Nov 22nd, 2011 at 3:31am by Derek Barnstorm »  
 
IP Logged  
 Reply #63 - Nov 22nd, 2011 at 3:30am
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
I already overwrote the Settings.pl that had the problem. The backup I used was 2 days old, sorry.

Derek Barnstorm wrote on Nov 22nd, 2011 at 1:57am:
Okay, the good news is that I have just recreated this, so I can see it happening myself.

But... I'm still 'fairly' sure that my solution in my last post fixes it. Are you absolutely sure that you totally removed this code (I'm guessing that you have two instances of it now):

Code (Perl)Select All
    if ($check_sfs_username || $check_sfs_ip || $check_sfs_email) {
        require "$sourcedir/StopForumSpam.pl";
        $sfs_username = $member{'regusername'};
        $sfs_email = $member{'email'};
        &CheckForumSpam;
    } 


And added it directly before this line:

Code (Perl)Select All
    &ToHTML($member{'language'}); 


That solves it for me...


Yes, that is the way I set it up but I only have one instance.

BTW, This pop-up reply box is a pain.
 
 
IP Logged  
 Reply #64 - Nov 22nd, 2011 at 3:35am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
Do you mind attaching you Register.pl so I can have a look please?

I might just have to remove that feature if it's going to cause problems. I don't think it's a 'be all and end all' feature anyway.
« Last Edit: Nov 22nd, 2011 at 3:36am by Derek Barnstorm »  
 
IP Logged  
 Reply #65 - Nov 22nd, 2011 at 3:38am
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
Maybe I do have two instances.

Code Select All
		&FromChars($member{'reason'});

    if ($check_sfs_username || $check_sfs_ip || $check_sfs_email) {
        require "$sourcedir/StopForumSpam.pl";
        $sfs_username = $member{'regusername'};
        $sfs_email = $member{'email'};
        &CheckForumSpam;
    }

		&ToHTML($member{'reason'});
		&ToChars($member{'reason'});
		$member{'reason'} =~ s~[\n\r]{1,2}~<br />~ig;
	}

	if ($regcheck) { require "$sourcedir/Decoder.pl"; &validation_check($member{'verification'}); }



    # StopForumSpam Mod Start
    if ($check_sfs_username || $check_sfs_ip || $check_sfs_email) {

        eval { require LWP::UserAgent }; 

 
 
IP Logged  
 Reply #66 - Nov 22nd, 2011 at 3:41am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
The last part of that code is from an earlier version of the Mod. It would help if I could see the whole of Register.pl.

And it doesn't look like you've moved it to the correct place...
« Last Edit: Nov 22nd, 2011 at 3:46am by Derek Barnstorm »  
 
IP Logged  
 Reply #67 - Nov 22nd, 2011 at 3:53am
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
Here you go Derek, looks like you had posted while I was grabbing the code the first time around
 
Register.zip (11 KB | 41 )
 
IP Logged  
 Reply #68 - Nov 22nd, 2011 at 4:05am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
Here you go - use the one attached here. You still had the code from an older version in there and it looks like you moved the code before:

Code (Perl)Select All
        &ToHTML($member{'reason'}); 


Instead of:

Code (Perl)Select All
    &ToHTML($member{'language'}); 


I'm hoping that will fix things, but let me know if you have any more problems.

RonS2 wrote on Nov 22nd, 2011 at 3:53am:
looks like you had posted while I was grabbing the code the first time around

Ah, sorry. Too quick off the mark. Smiley
« Last Edit: Nov 22nd, 2011 at 4:10am by Derek Barnstorm »  
Register-Ron.zip (11 KB | 40 )
 
IP Logged  
 Reply #69 - Nov 22nd, 2011 at 1:51pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
Thanks a million Derek, I installed it and will let you know how it works out

Embarrassed
Looks like I am now proficient in messing up perl.
Before this I was only good at screwing up HTML.
 
 
IP Logged  
 Reply #70 - Nov 22nd, 2011 at 2:11pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
You're welcome, Ron.

RonS2 wrote on Nov 22nd, 2011 at 1:51pm:
I installed it and will let you know how it works out

Okay, great. I won't update the mod until I know that there are definitely nor more problems then.

RonS2 wrote on Nov 22nd, 2011 at 1:51pm:
Looks like I am now proficient in messing up perl.
Before this I was only good at screwing up HTML.

He he! We all do it. Not so long ago I had two images - a small icon and a screenshot of an error message, both with the same name. I uploaded the wrong one and it took about an hour to realize it was an image on the screen and not an error with my code. Cheesy
« Last Edit: Nov 22nd, 2011 at 2:11pm by Derek Barnstorm »  
 
IP Logged  
 Reply #71 - Nov 22nd, 2011 at 7:09pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
Just had the opportunity to splat an unsuspecting spammer with your most excellent bug swatter. Worked 100%

I am humbled by your expertise.


Thanks Derek!
« Last Edit: Nov 22nd, 2011 at 7:18pm by RonS2 »  
 
IP Logged  
 Reply #72 - Nov 22nd, 2011 at 9:20pm
There are no actions to perform.  

BloodyRue 
Junior Member
**
Offline
Posts: 83


YaBB 2.5
Re: PMs from Ex-Members
Derek Barnstorm wrote on Nov 22nd, 2011 at 2:11pm:
You're welcome, Ron.

RonS2 wrote on Nov 22nd, 2011 at 1:51pm:
I installed it and will let you know how it works out

Okay, great. I won't update the mod until I know that there are definitely nor more problems then.

RonS2 wrote on Nov 22nd, 2011 at 1:51pm:
Looks like I am now proficient in messing up perl.
Before this I was only good at screwing up HTML.

He he! We all do it. Not so long ago I had two images - a small icon and a screenshot of an error message, both with the same name. I uploaded the wrong one and it took about an hour to realize it was an image on the screen and not an error with my code. Cheesy



What is worse is writing code, saving, looking for the difference you just made, not seeing it, though you KNOW it should be there. Deciding you aren't in the right IF/ELSE statement and working some other section.
save that, etc etc etc. then an hour later (or less) realizing you were saving it to the wrong directory which you aren't hitting with your browser.
 
...    ...
WWW MVMB1  
IP Logged  
 Reply #73 - Nov 23rd, 2011 at 4:32am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: PMs from Ex-Members
RonS2 wrote on Nov 22nd, 2011 at 7:09pm:
Just had the opportunity to splat an unsuspecting spammer with your most excellent bug swatter. Worked 100%

I still haven't had the chance to use it myself for real. I don't get all that many hits on my demos board, and most of them are stopped by the other checks. I only got to use it when I was testing. Sad

Nice to know it's doing its job 'splatting' them anyway. Smiley
« Last Edit: Nov 23rd, 2011 at 4:41am by Derek Barnstorm »  
 
IP Logged  
 Reply #74 - Nov 23rd, 2011 at 2:36pm
There are no actions to perform.  

RonS2 
Full Member
Beta Testers
***
Offline
Posts: 447


YaBB 2.5
Re: PMs from Ex-Members
In the last 24 hours your mod automatically spatted 39 of those buggers. One did get though that I swatted.

I think this mod should be nominated for "Mod Of The Year!"
 
 
IP Logged  
Pages: 1 ... 3 4 5 6 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.