-SOAD- Posted June 17, 2011 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.
JR10 Posted June 17, 2011 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 Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
-SOAD- Posted June 17, 2011 Author Posted June 17, 2011 Well but im talking about Simple Machine Forums.
UAEpro Posted June 17, 2011 Posted June 17, 2011 you can search with phpmyadmin ^^ تيم سبيك بروجيمر ts3server://ts.pg.sa
-SOAD- Posted June 17, 2011 Author Posted June 17, 2011 I just want to know to uncrypt the SMF Accounts Name/Passwords.
Aibo Posted June 17, 2011 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 ?
laserlaser Posted June 17, 2011 Posted June 17, 2011 smf uses sha1(username.password) Ex: sha1("admin"."test1234")
UAEpro Posted June 17, 2011 Posted June 17, 2011 this is might help you http://regex.info/sha1.lua you can use it by sha1(passwordcheck) تيم سبيك بروجيمر ts3server://ts.pg.sa
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