Register for your free account! | Forgot your password?

You last visited: Today at 07:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



can some one knows

Discussion on can some one knows within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
can some one knows

my password in my pserver is

password: 1041978372005
in my mysql it is ???? ??T??}?OB

if i'm going to create register page
and register the password which is

password: hello
in my mysql it is hello

how to convert it like the above or something like that..

thanks in advance ....
marlyandedsel is offline  
Old 12/02/2010, 09:16   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Sounds like your source is using encrypted passwords in the database.

You can do one of three things.

#1: Encrypt the password before adding it to the database. Requires decent knowledge of php or use an existing register script that has it

#2: Don't enter a password to the database and simply set it on user first login (check if db password blank and then set it to the encrypted password received from the client)

#3: Don't encrypt database passwords. Do this through decrypting the password before checking it vs database password.


Simple stuff really.
pro4never is offline  
Thanks
1 User
Old 12/02/2010, 09:22   #3
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
Thanks very much

Quote:
Originally Posted by pro4never View Post
Sounds like your source is using encrypted passwords in the database.

You can do one of three things.

#1: Encrypt the password before adding it to the database. Requires decent knowledge of php or use an existing register script that has it

#2: Don't enter a password to the database and simply set it on user first login (check if db password blank and then set it to the encrypted password received from the client)

#3: Don't encrypt database passwords. Do this through decrypting the password before checking it vs database password.


Simple stuff really.

i will try your advice
marlyandedsel is offline  
Old 12/02/2010, 15:16   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
Quote:
Originally Posted by pro4never View Post
Sounds like your source is using encrypted passwords in the database.

You can do one of three things.

#1: Encrypt the password before adding it to the database. Requires decent knowledge of php or use an existing register script that has it

#2: Don't enter a password to the database and simply set it on user first login (check if db password blank and then set it to the encrypted password received from the client)

#3: Don't encrypt database passwords. Do this through decrypting the password before checking it vs database password.


Simple stuff really.
Easy? Maybe if you take the crypto from some public source, but if you don't, it won't be that easy. Except for method 2, which since the new password cryptography was added is a very bad method.
Basser is offline  
Old 12/02/2010, 15:18   #5
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Quote:
Originally Posted by Basser View Post
Easy? Maybe if you take the crypto from some public source, but if you don't, it won't be that easy. Except for method 2, which since the new password cryptography was added is a very bad method.
Uhh yes maybe easy for him, but for some "Dummy Coders" its hard..
JobvdH is offline  
Old 12/03/2010, 01:08   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by Basser View Post
Easy? Maybe if you take the crypto from some public source, but if you don't, it won't be that easy. Except for method 2, which since the new password cryptography was added is a very bad method.
Yes, I'm hopeless with php so method 1 is kind hard.

Method 2 is easy to do but not a good way of doing things.


#3 is easy but depends on how secure your db is... personally I have no issue with it but that's just me.
pro4never is offline  
Old 12/03/2010, 16:56   #7
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
hmm

Quote:
Originally Posted by JobvdH View Post
Uhh yes maybe easy for him, but for some "Dummy Coders" its hard..
yes method 2 is bad things... I am looking at the auth.. or what you called it.. in the source understanding how the password setting up in the database.... hmm.. kinda hard but still im on it now trying to understand...
marlyandedsel is offline  
Reply




All times are GMT +1. The time now is 07:26.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.