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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...