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


 
Page Index Toggle Pages: 1
Topic Tools
 
Encode Passwords in memberlist.inactive (Read 897 times)
 Aug 23rd, 2012 at 2:50am
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
Encode Passwords in memberlist.inactive
Passwords aren't being encrypted in the memberlist.inactive file - obviously passwords should never be revealed to website owners.

In Register.pl find:

Code (Perl)Select All
        if ($do_scramble_id) { $cryptuser = &cloak($reguser); } else { $cryptuser = $reguser; } 


And add after:

Code (Perl)Select All
        $regpass = encode_password($member{'passwrd1'}); 


Find:

Code (Perl)Select All
        print INACT "$date|$activationcode|$reguser|$member{'passwrd1'}|$member{'email'}|$user_ip\n"; 


And replace:

Code (Perl)Select All
        print INACT "$date|$activationcode|$reguser|$regpass|$member{'email'}|$user_ip\n"; 

« Last Edit: Aug 23rd, 2012 at 3:15am by Derek Barnstorm »  
 
IP Logged  
 Reply #1 - Nov 6th, 2012 at 9:31pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,876
Earth


YaBB 2.5
Re: Encode Passwords in memberlist.inactive
This Topic was moved here from YaBB 2 - Bugs [Need Verification] by Dandello.
 
WWW  
IP Logged  
Page Index Toggle Pages: 1
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.