Jump to content

Recommended Posts

Posted (edited)

Hi ,

 

I'm trying to create an account with password. I also created the characters in  characters table

I've encrypted the psw here https://md5decrypt.net/en/ but I cant log in 

Account tables:

login       password           lastactive              access_level             lastServer

test       (psw md5)               0                        0                       1



Characters tables:

account_name                  obj_id                      chart_name              level 

test                            0                           dummy                   1

Any idea ?Thank

 

Edit:

 

I created another char with the same password. 

I have created the char with the client (autocreate) and I discover that Md5 encrypted word is very different

I use interlude , is it MD5 ?

 

EDIT

ok I found it 

byte[] newPassword = MessageDigest.getInstance("SHA").digest(password.getBytes("UTF-8"));
			
			ps.setString(1, account);
			ps.setString(2, Base64.getEncoder().encodeToString(newPassword));

 

Edited by Sinistroyer

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..