Creating Armagetron Custom Authority
-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Creating Armagetron Custom Authority
Hello everyone,
I recently read the post on Custom Armagetron Authority by Z-man and vertrex .In that script i want that the password should not be plain-text. What i mean to say is when we log into arma the comparison of user name and password is in plain text , i want that encrypted so that i can use it with my web log-in script.
My reference :
http://forums3.armagetronad.net/viewtopic.php?t=21958
I recently read the post on Custom Armagetron Authority by Z-man and vertrex .In that script i want that the password should not be plain-text. What i mean to say is when we log into arma the comparison of user name and password is in plain text , i want that encrypted so that i can use it with my web log-in script.
My reference :
http://forums3.armagetronad.net/viewtopic.php?t=21958
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous


Re: Creating Armagetron Custom Authority
There is a script referenced there by Z-Man. All you have to do is store the passwords in MD5, pre/appending your strings before encoding. Then in the getPassword() function, you need to pull from the database rather than using an array, and returning the MD5 password. Then go on down to getPasswordHash(), and remove the method switch, and the MD5 encryption in the returned array. You don't really have to remove the switch(), but it's pointless to keep.
It's easier just to not have a pre/suffix and encrypt your passwords regularly with MD5 when you store them. You can't use other methods such as sha1 or as you see with SMF sha1( md5() ).
It's easier just to not have a pre/suffix and encrypt your passwords regularly with MD5 when you store them. You can't use other methods such as sha1 or as you see with SMF sha1( md5() ).
Re: Creating Armagetron Custom Authority
Actually it's sha1(usernamepassword) for SMF.Light wrote:You can't use other methods such as sha1 or as you see with SMF sha1( md5() ).
Either ask Light for help or me (I am VerTreX). I am running my own using hashed (encrypted) passwords using this script: http://bazaar.launchpad.net/~armagetron ... work/files and the authority here: http://vertrex.tk/armaauth/0.1ceoarck wrote:Hello everyone,
I recently read the post on Custom Armagetron Authority by Z-man and vertrex .In that script i want that the password should not be plain-text. What i mean to say is when we log into arma the comparison of user name and password is in plain text , i want that encrypted so that i can use it with my web log-in script.
My reference :
http://forums3.armagetronad.net/viewtopic.php?t=21958
Re: Creating Armagetron Custom Authority
Damn, you're right.
It's been years since I helped out there.
To OP: If you provide your setup for tables / columns and encryption on your passwords (hopefully just MD5 or plain text), I may be able to help out more.

To OP: If you provide your setup for tables / columns and encryption on your passwords (hopefully just MD5 or plain text), I may be able to help out more.
Re: Creating Armagetron Custom Authority
Suit yourself. I'm slightly lazy to tell people anything unless they ask me nowLight wrote:To OP: If you provide your setup for tables / columns and encryption on your passwords (hopefully just MD5 or plain text), I may be able to help out more.

-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Re: Creating Armagetron Custom Authority
Thank you VerTrex and Light for your help I truly appreciate it.
Sorry for the late reply but thank u guys very much
Sorry for the late reply but thank u guys very much
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous


-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Re: Creating Armagetron Custom Authority
btw Does the script work with hashed and salted passwords ?
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous


Re: Creating Armagetron Custom Authority
The client sends the password already hashed. Anything added after that would go unused.
Re: Creating Armagetron Custom Authority
Like Light said, every server hashes the password that you send through your login menu from your client. Then it goes into more encryption mode by adding in salt into the hash and some hex codes.ceoarck wrote:btw Does the script work with hashed and salted passwords ?
Overall, it's pretty safe and easy to use. I've made a online global login checker that works EXACTLY like it: http://vertrex.tk/global/
How it works is:
Username: Type in your login username that you type using /login
Password: Type in the password you will type when the login window pops up in your client.
Click login and the script will do its job like that of the server. Should return with something. Since I made the messages as equal to the server messages, it should be easy

-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Re: Creating Armagetron Custom Authority
I tried to use the script which you provided in an earlier post but it says a lot of errors like fatal error call to member function
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous


Re: Creating Armagetron Custom Authority
Well that's probably because you should set those things right.
Firstly, did you set the details in config.php right?
That should automatically fix all the rest.
If it still continues, why not take a screen shot and post it in your reply. Also, could you possibly post in the config.php without your sql password. We don't need a thief in our wonderful community, do we
Firstly, did you set the details in config.php right?
That should automatically fix all the rest.
If it still continues, why not take a screen shot and post it in your reply. Also, could you possibly post in the config.php without your sql password. We don't need a thief in our wonderful community, do we

Re: Creating Armagetron Custom Authority
I think we do need a thief, cuz it's gotten boring, we need someone to spice things up in our armagetron relationship!
Why can't u wear a sexy outfit now and then, that's it, i'm put off by the whole notion, no good b**t***s!

Why can't u wear a sexy outfit now and then, that's it, i'm put off by the whole notion, no good b**t***s!


-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Re: Creating Armagetron Custom Authority
VerTrex : I tried the login script on your site and this is the error :
PS I am using phpbb3 3.0.11 for the username and password
PS I had to replace 'pack():' with 'pack' and H: with 'H' because server thought it was a smiley
Code: Select all
Wrong password supplied, authentication server returned "
Warning pack Type H illegal hex digit $ in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit H in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit $ in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit y in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit r in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit J in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit k in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit S in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit y in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit R in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit X in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit t in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit Q in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit S in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit Q in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit u in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit r in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit w in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit O in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68
Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68
PASSWORD_FAIL".
PS I had to replace 'pack():' with 'pack' and H: with 'H' because server thought it was a smiley
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous


Re: Creating Armagetron Custom Authority
You mean the one located here?ceoarck wrote:VerTrex : I tried the login script on your site and this is the error :Code: Select all
Wrong password supplied, authentication server returned " Warning pack Type H illegal hex digit $ in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit H in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit $ in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit y in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit r in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit J in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit k in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit S in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit y in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit R in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit X in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit t in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit Q in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit S in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit Q in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit u in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit r in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit w in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit g in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit O in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68 Warning pack Type H illegal hex digit s in \htdocs\armaauth\0.1\index.php on line 68 PASSWORD_FAIL".
http://vertrex.tk/global/
That's odd because I used it just now and no error returned for me

What do you mean? Which script are you referring to here?ceoarck wrote:PS I am using phpbb3 3.0.11 for the username and password
PS I had to replace 'pack():' with 'pack' and H: with 'H' because server thought it was a smiley
-
- On Lightcycle Grid
- Posts: 17
- Joined: Tue Jun 25, 2013 8:43 am
- Location: Delhi,India
- Contact:
Re: Creating Armagetron Custom Authority
The quote regarding the replacement of pack(); with pack was done because armagetron forums thought it was a smiley while posting and the script which i am referring here is the one you mentioned in your post as the one which you use.
"All the things in life which came easily, have no value , to get the value , earn the things" - Anonymous

