Raised This Month: $ Target: $400
 0% 

Need Help: How to use MD5 passwords in the database?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wwzw
Member
Join Date: Feb 2009
Old 02-03-2013 , 10:46   Need Help: How to use MD5 passwords in the database?
Reply With Quote #1

Hello, everybody
I know a little bit about AMXX, now I want to learn to use the the SM management of CS: GO server.
First of all, I want to use MySQL to save the administrator information, the password is stored in the database after secondary MD5 encryption. Like this:
Database fields: password AND salt
Players info password: userpass.
MD5 (userpass) == MD5 (password + salt)

I can not achieve this, because I know which plug-in access to the player's "PassInfoVar" value, and then compare and eventually kicked out of the players: "Your name is reserved by SourceMod; set your password the to use it"

I just want to reach the AMXX the effect: query the database MD5 calculation compared! If the password is wrong then kicked players, after players connected to the server and get STEAM_ID.

Sorry! My English is poor, use Google Translator
Please help me! Thank you very much!
wwzw is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode