The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Password Security Tools Details »» | |||||||||||||||||||||||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Password Security Tools For vBulletin 3.7.0 and above -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Description -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- A product designed to combat the recent increase in weak password attacks by spammers. For background information, read the following threads: http://www.vbulletin.com/forum/showthread.php?t=278975 http://www.vbulletin.com/forum/showthread.php?t=281371 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The Problem -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The problem stems from the fact that vBulletin doesn't check the quality of a user's password when registering or changing the password in the User CP. As a result, users are able to choose easily guessable passwords to protect their account. The most common passwords are things like "password", "12345", "qwerty", "letmein", as well as the user's own username. On a large forum, these poorly protected accounts can number hundreds or even thousands, and this has shown itself to be a prime opportunity for spammers to exploit. With a relatively simple script, spammers are able to scrape the member list from your forum and automatically validate which of the accounts have such passwords. A spammer with access to tens, hundreds or thousands of legitimate user accounts is a situation you don't want to be in. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- What This Does -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This product has two main functions. 1. It prevents users from using their own username as a password, or any other commonly used word. (An editable list of banned passwords is available in the Admin CP.) The same rules apply if a user tries to change their password after registration. 2. It provides you with a tool to identify existing user accounts that have bad passwords, and lets you reset those passwords. Emails will be automatically dispatched to affected users notifying them of the change, and providing instructions on how to gain access to their account. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Installation -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To install: 1. Upload cpnav_passrepair.xml to includes/xml/ 2. Upload passsec.php to admincp/ 3. Upload product-passrepair.xml to your Admin CP as a product 4. Enable the product in vBulletin Options -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Password Scanner - Usage Notes -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The password scanning portion of this product is a utility designed for use by administrators. There are a few things to be aware of. 1. BACK UP YOUR DATA BEFORE USING THIS SCRIPT. 2. It's not a tool designed for frequent usage, it's a quick and dirty way of getting the job done. If Jelsoft don't address this issue, I might return to it and optimize the password scanner to make it a little less server intensive. Use it sparingly, and close your forums before commencing a scan. 3. The password scanner has the potential to send out a lot of email. Use the "Users Per Page" setting to process accounts at whatever rate you deem your server capable of handling. 4. After you've installed this product it'll be impossible for users to register using a blacklisted or invalid password (or to change it to one afterwards). As a result, you should only need to use the password scanner once. Feel free to remove the passsec.php and cpnav_passrepair.xml files from your server once you're done with the scanner, the rest of the product will still function. 5. For unattended bulk processing of accounts, there's some javascript in passsec.php that's currently commented out. Use it at your own risk. Show Your Support
|
Благодарность от: | ||
markslevent |
Comments |
#52
|
|||
|
|||
so vb does this now? what version?
From what i read in this thread it seems that this mod is better since it includes bad word list. |
#53
|
|||
|
|||
I looked up the vb update.
Quote:
I just wish there was a way to mandate a min password length on the forum. Great mod John thank you for this. |
#54
|
|||
|
|||
Quote:
Code:
<script type="text/javascript"> function verify_passwords(password1, password2, minlength) { // do various checks, this will save people noticing mistakes on next page if (password1.value == '' || password2.value == '') { alert('$vbphrase[fill_out_both_password_fields]'); return false; } else if (password1.value != password2.value) { alert('$vbphrase[entered_passwords_do_not_match]'); return false; } else if (password1.value.length < minlength) { alert('Your password is too short. It has to be at least ' + minlength + ' characters'); return false; } else { <if condition="$show['coppa']"> pass_copy = password1.value; passconfirm_copy = password2.value; </if> var junk_output; md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]); md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]); <if condition="$show['coppa']"> document.forms.register.password.value = pass_copy; document.forms.register.passwordconfirm.value = passconfirm_copy; </if> return true; } return false; } </script> Code:
<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm, 8);"> |
#55
|
|||
|
|||
the MOD states: "After confirming your email address is valid, we'll send you your new password." in an email to users, but I don't see anywhere how many characters the new/generated Password is. I assume it's a random mix of letters/numbers, but how l-o-n-g is the password it refers to?
|
#56
|
|||
|
|||
Quote:
Does anyone have an idea as to what additional CODE one would need to insert into the profile.php file to force users to always update their passwords using at least 8 characters? Or should such revisions be made in the modifypassword template? |
#57
|
|||
|
|||
Thanks a lot.It worked for me on 3.8.7.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|