Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Scheduled Task to Ban BugMeNot Details »
Scheduled Task to Ban BugMeNot
Mod Version: 1.3, by Zabadab (Member) Zabadab is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 8
Released: 01 May 2006 Last Update: 06 May 2006 Downloads: 21
Not Supported Additional Files  

Warning: Aparently this does not work with the latest vBulletin.

What is it?
One line summary: This "hack" allows you to ban publically shared accounts that come from a website called BugMeNot

More detailed summary: People visit BugMeNot to share accounts from websites that require registration. While this is great for websites such as the New York Times' site (which requires log-in to read articles), it is heavily annoying for forum communities as users will usually use these accounts to grab a bunch of attachments and will never actually contribute anything useful.

What does this script do?
I have written a scheduled task that will visit BugMeNot and retrieve a list of all shared accounts for your forum. All users on this list will then be banned. This is useful for two reasons:
  1. You don't need to visit BugMeNot constantly to manually ban the accounts.
  2. If you enabled attachments, you will be able to cut down on leeching.

What's new?
Version 1.3
  • FIXED: Infinite loop due to BugMeNot changing account listing URL with 301 redirect.
  • ADDED: Option for extra verboseness.
Version 1.2
  • FIXED: Infinite loop when no accounts found due to BugMeNot now returning 404 response code.
  • FIXED: allow_url_fopen php.ini setting is now no longer required to be enabled.
  • FIXED: Rewritten BugMeNot parser to use custom-coded HTML downloader.
Version 1.1
  • Almost a total rewrite incorporating most feedback.
  • Will ban more than the first five accounts now.
  • PHP4 compatibility now. Added a replacement function for array_combine(...)
  • Added checking for safe_mode and allow_url_fopen
Version 1.0
Initial Release

System Requirements
  • PHP >= 4.3.0, PHP >= 5.1.2 recommended.
  • safe_mode off
  • allow_url_fopen on
How do I install this?
Installation is very easy. The following may look like a lot, but they're all very simple steps. Here's what you have to do:
  1. Download the script.
  2. Edit the configuration variables in the file (see the next section)
  3. Extract banbmn.php to your vBulletin "includes/cron/" directory.
  4. Search the Admin CP menu for "Add New Scheduled Task" and click it.
  5. Enter "Ban BugMeNot" in the "Title" field.
  6. Change the hour field to the time your site is the least busy. (4am or something) - Leave all other date/time fields alone.
  7. Enter the path ("./includes/cron/banbmn.php") to the script in the "Filename" field.
  8. Click "Save"
Now run the task for the first time:
  1. In the AdminCP menu, click "Scheduled Task Manager"
  2. Next to the entry "Ban BugMeNot", click on "Run Now"
  3. Wait for the task to finish; the more accounts on your forum are shared, the longer it takes.
  4. Check your scheduled task log for details on what was done.

What can I configure?
Inside the script file is a configuration section where you can configure a variety of options that direct how the script will operate.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the group all shared accounts will be banned into. You can find the Group ID with the "Usergroup Manager"

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the reason shared accounts are banend with. People who try to use these accounts will see this message.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want to change the users title along with the ban, you can set the title in this variable. If you leave it blank the title will not be changed.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will make the script write many more messages into the scheduled task log. You can turn this on when testing the script, but you should turn it off once everything works.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Do not enable this. It will make your scheduled task log grow very large. The reason this exists as a setting at all is so you can try and find out why the script locks up. It will log the current loop iteration and the HTML code returned.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This setting controls if you want the password of an account to be verified as well. You should really leave this setting alone because if you disable it, anyone can add a valid username to the BugMeNot database (recall that BugMeNot is public and open to anyone) and it will be banned regardless of whether the login information is correct.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you do not want to ban Administrators, Super Moderators, or Moderators, set this to TRUE. The default value of FALSE is fine, especially if you left password checking enabled.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the URL that is checked on BugMeNot. The default value of 'AUTO' is fine.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This determines if the script will wait between accessing URLs on BugMeNot. If you have a large forum do not turn this on. If you have a low-traffic forum (less than 300 members), you can turn this on to make it less likely that BugMeNot bans you.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This determines how long the script waits between accessing URLs. The default value is fine.

Support & Beta Version Infos
Support: I am a fairly busy server administrator but I will try my best in supporting this script. The only thing I ask for is for people to click install.

Beta Version Infos: I could only do limited testing. Reports on how it works (positive and negative) would be nice. Also, please don't be "pissed off" immediately if the script does not work for you. Tell me that it is broken and I will fix it as soon as possible!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot1.jpg
Views:	78
Size:	745.9 KB
ID:	46944   Click image for larger version

Name:	screenshot2.jpg
Views:	66
Size:	111.5 KB
ID:	46945   Click image for larger version

Name:	screenshot3.jpg
Views:	78
Size:	189.4 KB
ID:	46946  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 01 May 2006, 23:37
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
nice
Reply With Quote
  #3  
Old 02 May 2006, 00:20
Bandit8007 Bandit8007 is offline
 
Join Date: Jan 2006
nice will prolly install it tomorrow.
Reply With Quote
  #4  
Old 02 May 2006, 00:32
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
What is BugMeNot? I've never heard of it.
Reply With Quote
  #5  
Old 02 May 2006, 00:35
thedvs thedvs is offline
 
Join Date: May 2002
its a pain in the butt site for people sharing accounts to boards both private and public.

e.g if you have paying members accounts, idiots can share them there
Reply With Quote
  #6  
Old 02 May 2006, 03:11
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
im not too sure if i understood this well care to explalin?
__________________
____________
BossLady
Reply With Quote
  #7  
Old 02 May 2006, 03:43
Torqued Torqued is offline
 
Join Date: Oct 2004
http://www.bugmenot.com/

Bugmenot.com - login with these free web passwords to bypass compulsory registration

Find and share logins for websites that force you to register:
Reply With Quote
  #8  
Old 02 May 2006, 04:27
vic_jay vic_jay is offline
 
Join Date: Mar 2004
I think bugmenot is illegal. If its paid, and they are helping others share paid services that seems like contrib infringement
Reply With Quote
  #9  
Old 02 May 2006, 06:31
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Nice idea!

Showing passwords in plain text might be considered a bit of a security risk tho.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #10  
Old 02 May 2006, 07:20
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
This would be nice to be able to configure it to silently move these users into Miserable Users.
Or would this achive that if instead of 8 you used a seperate group ID set for Miserable Users?

I would rather allow people to log in with teh provided username and have them have a "Miserable" experience. Expecially since most of the time you have to manually clear cookies to even log out of a Miserable acount.

Perhaps an admin PM or a bot style post in a specified forum as an alert.

Thanks for the hack.
__________________
Hi.

Last edited by RMS-Chef; 02 May 2006 at 07:23.
Reply With Quote
  #11  
Old 02 May 2006, 07:27
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Originally Posted by kall
Nice idea!

Showing passwords in plain text might be considered a bit of a security risk tho.
I don't think that is much of an issue as it seems to only display the BMN publicly available password anyway. It does not seem to display a password of the account if it does not match, only the wrong password. I really think that the password check is a must and should not even be an option since anyone could simply add a bogus entry at BMN with a wrong password and get that user banned.
__________________
Hi.
Reply With Quote
  #12  
Old 02 May 2006, 07:32
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Sorry, yes.. after that explanation, I totally understand. You are right there.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #13  
Old 02 May 2006, 09:00
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Awesome, I'll install this right away...
Reply With Quote
  #14  
Old 02 May 2006, 11:59
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Real name: Rich
I don't think I would need this, but the concept is pretty good.

**on a side note**
Lil Ripsta must have one of the most heavily modified sites on the net. Everytime I open a thread on vb.org, he is installing the modification. lol
__________________
Rich

Swapped 2 sites to Xenforo since vBulletin left me hanging for so long with the vB4 - PHP5 compatibility issues. Running PHP 5.5 with Xenforo with NO issues.
Reply With Quote
  #15  
Old 02 May 2006, 16:01
Kihon Kata's Avatar
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Wow cool! Great hack for us busy forums! One problem, it didn't work LOL

Fatal error: Call to undefined function: array_combine() in /home/httpd/vhosts/SITEHERE.com/httpdocs/forums/includes/cron/banbmn.php on line 179

help?
__________________
3MultiMedia.com - Simple, Effective CMS WebDesign
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:28.

Layout Options | Width: Wide Color: