-SOAD- Posted June 17, 2011 Share Posted June 17, 2011 Hey, I just wanted to script a function which allows to logIn players they are registred on the SMF Forum. ( Not the MTA own register system, just a own ).. Ye the problem is that i dunno in which table the user accounts are saved and how to read them in lua ( with mySQL plugin ) Im sure that they are encoded and that would also make a problem. So if some players could gimme some tipps I would thanks alot. regards sOAD. Link to comment
JR10 Posted June 17, 2011 Share Posted June 17, 2011 The accounts are saved in internal.db in server/mods/deathmatch/internal.db you can open it with sqlitebrowser_200_b1_win Link to comment
-SOAD- Posted June 17, 2011 Author Share Posted June 17, 2011 Well but im talking about Simple Machine Forums. Link to comment
UAEpro Posted June 17, 2011 Share Posted June 17, 2011 you can search with phpmyadmin ^^ Link to comment
laserlaser Posted June 17, 2011 Share Posted June 17, 2011 Easy, and needed mysql module. Link to comment
-SOAD- Posted June 17, 2011 Author Share Posted June 17, 2011 I just want to know to uncrypt the SMF Accounts Name/Passwords. Link to comment
Aibo Posted June 17, 2011 Share Posted June 17, 2011 you dont need to decrypt passwords (SMF uses SHA1 with salt anyway, good luck with that) you need to compare a hash of the entered password with a hash stored in database. if it matches — entered password is correct. all you want is SMF's hashing algorithm Link to comment
laserlaser Posted June 17, 2011 Share Posted June 17, 2011 smf uses sha1(username.password) Ex: sha1("admin"."test1234") Link to comment
UAEpro Posted June 17, 2011 Share Posted June 17, 2011 this is might help you http://regex.info/sha1.lua you can use it by sha1(passwordcheck) Link to comment
-SOAD- Posted June 18, 2011 Author Share Posted June 18, 2011 Thanks it all worked very well. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now