SphereCommunity
Impossible to reverse md5 passwords - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Impossible to reverse md5 passwords (/Thread-Impossible-to-reverse-md5-passwords)

Pages: 1 2


RE: Impossible to reverse md5 passwords - Extreme - 08-16-2014 12:55 AM

Try this:
PHP Code:
[FUNCTION f_onaccount_connect]
SERV.MD5PASSWORDS 0
IF STRMATCH(*<STRSUB 0 16 <MD5HASH <LOCAL.PASSWORD>>>*,*<SERV.ACCOUNT.<LOCAL.ACCOUNT>.PASSWORD>*)
 
SERV.ACCOUNT.<LOCAL.ACCOUNT>.PASSWORD <LOCAL.PASSWORD>
 RETURN 
6
ENDIF
RETURN 


You can also try set the raw passwords on a TAG and check on it to login or not IF it is set.

But now the question: why do you want to store raw passwords?
I store the passwords in my mysql db, then I can manage them via web and I also can salt them.

You are going to the bad way doing this.