PDA

View Full Version : admin auth encryption


yjchen
09-16-2007, 13:40
Admin password is plain-text in users.ini now. it's not secure. I think password maybe encrypted in file that like passwd on Unix-like.
I think md5 algorithm is a good option.
my pesudo code:
name=cl_name
_pw=cl_password
if (md5(_pw) == find_passwd(name))
{
auth
}
else
{
non-auth
}

Podunk
10-04-2007, 21:16
+karma

_Master_
10-06-2007, 11:58
MD5 is a static algorithm. Same data outputs same result. It's just like having them plain.

Also, your suggestion/request is.... what ?!?

yjchen
10-07-2007, 12:24
MD5 is a static algorithm. Same data outputs same result. It's just like having them plain.

Also, your suggestion/request is.... what ?!?
AMXX manager dont realize to know what is user's password.
Allow PLAYER to use "reg_admin PASSWORD" to register admin.
users.ini
; "PLAYER" "MD5(PASSWORD)" "bcdefhijmnopqrstu" "a"
amxx manager just uncomment it.

yjchen
08-20-2008, 15:20
any scripting help?