vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Spambot Stopper - Prevent Spambots from Registering (https://vborg.vbsupport.ru/showthread.php?t=294633)

kh99 01-31-2013 11:00 PM

Spambot Stopper - Prevent Spambots from Registering
 
1 Attachment(s)
What is it?
----------------------------
This mod rejects registrations where the form is filled out in less than a minimum time. You can configure one of the following actions to be taken when an automated registration is detected:

- Show a "No Permissions" page
- Display the "Successful Registration" message but without creating an account
- Redirect the user to any URL you choose
- Reload the registration page with an error message of your choosing

You can also provide a list of email addresses to be notified each time a registration is blocked.

Added for version 1.1.1: Time delay enforcer, maximum time option, time limits to cut down on email notifications, posting to a thread.

In the future, I'd like to add some simple logging and statistics, and a summary type of email notification (because people seem to quickly get tired of the single emails).

Note: I coded this myself from scratch, but I would like to acknowledge a couple of previous mods that used this same idea, by users Calorie and noppid, and maybe others. In any case, I believe this one adds some features that the others don't have.

Other advantages: no ads or links, no abuse of update notifications, no disappearing features, no threats to delete the mod (it will never be deleted, at least by me). Also, translations are allowed.

Installation:
----------------------------
1) If you have "Is Bot", "Stop the Registration Bots", "Spammers Suck!", or another mod that works on registration time, note any admincp settings for that mod then uninstall it.

2) Import the product XML file from the Product Manager.

3) Go to Settings > Options > Spambot Stopper Options and configure the desired settings.

4) IMPORTANT: try to register a new user to make sure that there are no problems with humans registering. If you want, you can also temporarily set the minimum time to a higher value (like 60 seconds) and test to see if the spammer rejection is working.



History:
----------------------------
1.1.1 (Feb 16, 2013)
  • Added timer for enforcing minimum time
  • Added maximum registration time limit
  • Added time limits for email notifications
  • Added posting notificatiosn to a thread

1.0.1 (Feb 01, 2013)
  • Fixed bug
  • Added check for fake timestamps

1.0 (Jan 31, 2013)
  • Initial Release

kh99 02-01-2013 12:50 AM

Reserved

CharlieDelta 02-01-2013 03:50 AM

Very nice. Just in time to it seems.

ForceHSS 02-01-2013 04:31 AM

Is this something like the spammers suck mod that is now in the graveyard

kh99 02-01-2013 10:58 AM

Quote:

Originally Posted by CharlieDelta (Post 2400956)
Very nice. Just in time to it seems.

Thanks. And yes, it's not a coincidence. I created this one because the author of a similar mod decided to remove his.



Quote:

Originally Posted by ForceHSS (Post 2400960)
Is this something like the spammers suck mod that is now in the graveyard

Yes, it works the same way.

tareqbd 02-01-2013 11:36 AM

This is really great. Vbulletin forum owners common stress bot registration may have an end by this mod.
Thank you.

ForceHSS 02-01-2013 12:42 PM

Quote:

Originally Posted by kh99 (Post 2401009)
Thanks. And yes, it's not a coincidence. I created this one because the author of a similar mod decided to remove his.





Yes, it works the same way.

Thanks installed

Lionel 02-01-2013 01:57 PM

that's great. The other mod stops 80 spammers daily. Use it in conjunction with Q&A.
This one requires no template edit and gives more options

kh99 02-01-2013 04:25 PM

Quote:

Originally Posted by Lionel (Post 2401045)
Use it in conjunction with Q&A.

Good suggestion. We use Q&A (on my site, not vbulletin.org) and never had any problems. But I wanted to (re)create this mod because other people find Q&A isn't effective.

kh99 02-01-2013 04:26 PM

There's an update because I found a bug while working on other features. Sorry for the inconvenience.

Edit: BTW, have people confirmed that this is working for them?

djbaxter 02-01-2013 04:59 PM

Quote:

Originally Posted by kh99 (Post 2401090)
There's an update because I found a bug while working on other features. Sorry for the inconvenience.

Edit: BTW, have people confirmed that this is working for them?

Definitely working for me. Recommend increasing the limit to 20 seconds from the default 15 though - several obvious spambots being caught at 17, 18 seconds on 4 forums where I'm using it.

kh99 02-01-2013 05:02 PM

Thanks. I'll increase the default to 20 in future releases.

And thanks for the confirmation. I kind of rushed out the update because I wasn't sure what effect the bug might have had, but if it was working for you then the answer is that it wasn't having any effect.

Lionel 02-01-2013 05:03 PM

bots always pick the first answer in required profile field. So one question is Are you a spammer?

yes
no

and they all pick up yes. That bans them automatically

suggestion. Why not add IP in database and also check IP when registering?

kh99 02-01-2013 05:08 PM

Quote:

Originally Posted by Lionel (Post 2401101)
bots always pick the first answer in required profile field. So one question is Are you a spammer?

yes
no

and they all pick up yes. That bans them automatically

That's a good tip. Is there a mod that does the banning?


Quote:

suggestion. Why not add IP in database and also check IP when registering?
I'm not sure what you mean - can you elaborate on that?

Lionel 02-01-2013 05:28 PM

No I just added it manually in global_bootstrap_init_start
PHP Code:

if( $vbulletin->userinfo['field10'] == '0'

$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user SET usergroupid = '8' WHERE userid = '" $vbulletin->userinfo['userid'] . "'"); 


I ask them which version of vb they are using? but that's specific to my site

0
1.0
2.0
3.0
4.0
5.0
and they all pick up 0
and for banned IP, once banned I insert IP in a custom table and at registration:
And I verify that IP at registration register_addmember_process
PHP Code:

$ip $_SERVER['REMOTE_ADDR']; 
$dateline time(); 
$bannedip = array(); 
$bans $vbulletin->db->query_read("SELECT ip FROM " TABLE_PREFIX "bannedip"); 
WHILE(
$ban $vbulletin->db->fetch_array($bans)) 

$bannedip[] = $ban['ip']; 

unset(
$ban); 
$vbulletin->db->free_result($bans); 
if(
in_array($ip$bannedip)) 


{
//then your mod kicks off 

I stop 80 to 150 bots daily and sort of solve that plague

kh99 02-01-2013 05:39 PM

Thanks, that sounds great. If that's your code and you're giving me permission, maybe I'll include those as options in a later version.

Lionel 02-01-2013 05:46 PM

Sure you can include a vboptions to include the trick profile field id.
Once banned I send user to gay.com

I have been using this for 6 months now and that finally gave me a break

Lionel 02-01-2013 05:51 PM

Required custom profile fields is great as that increase the registration time

kh99 02-01-2013 05:59 PM

Thanks, I'll consider those for the next update.

Lionel 02-01-2013 06:01 PM

And for those complaining about amount of emails they are getting, just create and outlook rule to send those mails to a specific folder, then delete the contents of that folder daily. You will be surprised how fast it gets filled up with banned notifications

djbaxter 02-01-2013 06:13 PM

Quote:

Originally Posted by Lionel (Post 2401128)
And for those complaining about amount of emails they are getting, just create and outlook rule to send those mails to a specific folder, then delete the contents of that folder daily. You will be surprised how fast it gets filled up with banned notifications

That's exactly what I do. And once I verify the best range to set for identifying a spammer for my servers (currently 20 seconds but that's partly server-specific: 2 of the forums are on one dedicated server while the other 2 are on a VPS with a different host - those on the VPS are slower so that's where the 17, 18, and 19 second spambots are showing up), then I just disable the emails.

Lionel 02-01-2013 06:18 PM

I really think that this mod is the end for spammers

djbaxter 02-01-2013 06:22 PM

Quote:

Originally Posted by Lionel (Post 2401134)
I really think that this mod is the end for spammers

Sadly, I doubt it. Every time one new hole is plugged, the bastards find another one. And this does nothing about human spammers, of course - just spambots. But it certainly makes a huge difference.

Lionel 02-01-2013 06:24 PM

another great mod was to send them a code by mail before registering and they had to enter that code to complete registration

In Omnibus 02-01-2013 06:39 PM

Much Thanks. It's a shame refusal to comply with site policy made this necessary.

DAMINK 02-01-2013 08:09 PM

Thankyou kh99 for taking the time to recode this.
I will be installing it now and removing the other mods i was using.

djbaxter 02-02-2013 03:56 AM

Increased time to 25 seconds. Getting spambots trying at 21, 22, 23, 24 seconds. No actual humans blocked yet. Total today for 4 forums is 500+ attempts.

May have to go back to 30 seconds which is what I used before but didn't actually test myself.

chikuru 02-02-2013 06:33 AM

I think there should be another anti spam integrated with this mod. something that will delay humans to register so that we can increase the time limit...

kh99 02-02-2013 08:59 AM

Quote:

Originally Posted by djbaxter (Post 2401231)
Increased time to 25 seconds. Getting spambots trying at 21, 22, 23, 24 seconds. No actual humans blocked yet. Total today for 4 forums is 500+ attempts.

May have to go back to 30 seconds which is what I used before but didn't actually test myself.

Quote:

Originally Posted by chikuru (Post 2401252)
I think there should be another anti spam integrated with this mod. something that will delay humans to register so that we can increase the time limit...

Yeah, can see where it's a problem if the bot time is approaching human time. The idea of delaying human registration would work, if I can figure out a way to do that. Or maybe one of the ideas that Lionel suggested would work to differentiate the bots from the humans.

sadiq6210 02-02-2013 11:37 AM

Is it working with this mod?
I mean can I use it both in same time?
Anti-Spam Options - KeyCAPTCHA - Interactive CAPTCHA with Social Features

kh99 02-02-2013 12:29 PM

Quote:

Originally Posted by sadiq6210 (Post 2401279)
Is it working with this mod?
I mean can I use it both in same time?
Anti-Spam Options - KeyCAPTCHA - Interactive CAPTCHA with Social Features

I can't say for sure, but I looked at it and I don't see any reason that it wouldn't work. It doesn't use the same hooks or anything like that.

In Omnibus 02-02-2013 01:54 PM

Quote:

Originally Posted by djbaxter (Post 2401231)
Increased time to 25 seconds. Getting spambots trying at 21, 22, 23, 24 seconds. No actual humans blocked yet. Total today for 4 forums is 500+ attempts.

May have to go back to 30 seconds which is what I used before but didn't actually test myself.

FWIW I have this set at 30 seconds and haven't had a single bot get through.

kh99 02-02-2013 02:03 PM

Quote:

Originally Posted by ProSportsForums (Post 2401310)
FWIW I have this set at 30 seconds and haven't had a single bot get through.


But are you concerned about humans filling out the form in less than 30 seconds?

Nelson58 02-02-2013 02:06 PM

I'm using 20 and it works great for me, love this mod.

Lionel 02-02-2013 02:17 PM

that bot went thru but will be stopped due to last answer

Quote:

There is a new user, sb4hjgp3fd at vBcover Forums

Email Address : eyterjfgb@hotmail.com
Birthday : November 26, 1980
Referrer: N/A
IP Address: 27.153.186.96

Preferred weather unit : Fahrenheit
How did you hear about us? : opqrs52247
Do you currently have a website? : yes
Which version of vBulletin are you currently using? : none

Lionel 02-02-2013 02:46 PM

I've also successfully tested a nice way to catch thieves trying to buy via my icart with stolen Credit Card. Once I have some time I will implement for registration. You give them a list of country where they are for them to select. Then you create a function to grab country from IP. if they don't match then you stop them. Recently a fraudster with a Canada IP made a purchase with a Credit Card from France. Of course he got caught. 2 days later the legitimate credit card owner filed an unauthorized claim.

In Omnibus 02-02-2013 03:53 PM

Quote:

Originally Posted by kh99 (Post 2401314)
But are you concerned about humans filling out the form in less than 30 seconds?

No. I have a dozen required fields. No one could possibly fill them all in under 30 seconds.

djbaxter 02-02-2013 04:53 PM

Quote:

Originally Posted by kh99 (Post 2401262)
Yeah, can see where it's a problem if the bot time is approaching human time. The idea of delaying human registration would work, if I can figure out a way to do that. Or maybe one of the ideas that Lionel suggested would work to differentiate the bots from the humans.

Still monitoring via emails from the 4 forums with now well over 1000 registrations blocked since yesterday morning (I won't be continuing to look at all thse emails for very much longer). I've seen times as long as 27 or 28 seconds since I bumped the setting to 30 seconds and it's obvious from the structure of the usernames and email addresses that they're bots (you can spot most of them after a while - the bots aren't very good at constructing fake names and one even had an "@bypass-captcha.com" email address!). None of the blocked registrations have been actual humans.

Lionel 02-02-2013 05:05 PM

Kevin, if you want I could PM you the function to grab country code from IP then you verify it vs selected country? A bot will never guess from a list of 100 ++ countries

This thing is amazing. I just made a sale and the country Great Britain from IP was verified by PayPal user address.

Digital Jedi 02-02-2013 06:22 PM

I have mine set at about 25. So far no humans blocked that I can see, and I have a very short registration form. No CAPTCHA (since, really, who is this stopping now other than delaying human registrants), but all my verification questions require identifying something in an image. And I often use the same questions for different pictures. So that buys me those few seconds a human would need. So far, so good.


All times are GMT. The time now is 04:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01731 seconds
  • Memory Usage 1,843KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete