Raised This Month: $ Target: $400
 0% 

how to use md5-encrypted passwords?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bsl.rohling
New Member
Join Date: Apr 2004
Location: Bremen
Old 04-27-2004 , 15:34   how to use md5-encrypted passwords?
Reply With Quote #1

hi,

i've configured amxx to use our existing database, but since we're storing the user's password with MD5-encryption... is it possible to use this password in amxx too?

my childish guess to change line # 188 of admin_mysql.sma from
Code:
    else if (equal(password,g_aPassword[index])) {
to
Code:
    else if (equal(md5(password),g_aPassword[index])) {
didn't work


furthermore a config-option to choose whether to use password-encryption (none,md5,mysql) or not would be great
__________________
Life's not rebootable
bsl.rohling is offline
Send a message via ICQ to bsl.rohling
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-27-2004 , 15:36  
Reply With Quote #2

Amx currently doesn't have the capability to code/decode md5 encryption
__________________
My Plugins

Got ??
AssKicR is offline
BAILOPAN
Join Date: Jan 2004
Old 04-27-2004 , 18:43  
Reply With Quote #3

I will add an md5() encryption function to all SQL modules for 0.20.
__________________
egg
BAILOPAN is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 04-27-2004 , 19:07  
Reply With Quote #4

Quote:
Originally Posted by BAILOPAN
I will add an md5() encryption function to all SQL modules for 0.20.
haha coming up with good ideas
__________________

BigBaller is offline
rACEmic
Junior Member
Join Date: Mar 2004
Old 04-28-2004 , 06:17  
Reply With Quote #5

Quote:
Originally Posted by AssKicR
Amx currently doesn't have the capability to code/decode md5 encryption
I can't wait till AMX is updated with the ability to decode MD5 encryption.
__________________
T3 HOUSTON Server Utilities:
Steam ID Finder
Warcraft 3 On-the-Fly Compilation
rACEmic is offline
muffin
New Member
Join Date: Apr 2004
Old 04-28-2004 , 09:04  
Reply With Quote #6

What stops you from using the md5-function in MySQL? I use that one alot since not that many languages supports built-in md5 support.

example:

Code:
SELECT *
FROM users
WHERE password = md5('password')
muffin is offline
DopeFish
Senior Member
Join Date: Feb 2004
Old 04-28-2004 , 11:33  
Reply With Quote #7

is there any advantage other that that the passwords are not save in clear text in the db any more?
DopeFish is offline
Send a message via ICQ to DopeFish
BAILOPAN
Join Date: Jan 2004
Old 04-28-2004 , 12:06  
Reply With Quote #8

Passwords should never be cleartext
__________________
egg
BAILOPAN is offline
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 04-28-2004 , 16:16  
Reply With Quote #9

Not everyone in your clan should have rcon access, but look how many people listen to that
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-28-2004 , 19:47  
Reply With Quote #10

Quote:
Originally Posted by BAILOPAN
I will add an md5() encryption function to all SQL modules for 0.20.
Can you put it in like engine?
Would be useful for checksums on stuff like AmxGuard..
And most people wouldn't want to use the sql module if they didnt have to
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Reply



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 11:42.


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