• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Get Key

Newbie Spellweaver
Joined
May 24, 2019
Messages
26
Reaction score
2
Hi guys.

I viwer in one server v83, we can imput characters
texts with accents.When I opened the localhost, I saw that they changed the encryption.I tried using the GetKey.dll of the @Diamondo25 , but it did not find the key.This is the client link
https://mega.nz/#!F7h0iATA!9B3HT099Rpb5taViAfrmZbOzdhB7zkkt3u0ky7l9xWU


. Could someone tell me another way to get the key?Thank you.
 
Newbie Spellweaver
Joined
Apr 1, 2014
Messages
17
Reaction score
5
Hey,
I see that's BMS version type of client, what type of v83 source are you running?
 
Upvote 0
Skilled Illusionist
Joined
Apr 26, 2015
Messages
302
Reaction score
77
Search for this array of bytes in a clean client that you know that hasnt changed the key:
Code:
[COLOR=#6A737D]13 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 08 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 06[/COLOR]
Then compare the bytes at location of the clean client and the modified client.

If that doesnt work, xref the keys in IDA and check if they are overriding the push instruction with the offset of the AES key.
 
Upvote 0
Newbie Spellweaver
Joined
May 24, 2019
Messages
26
Reaction score
2
I will try this

The secret key for version 83 is

0x13, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, (byte) 0xB4, 0x00, 0x00, 0x00, 0x1B, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x52, 0x00, 0x00, 0x00

So I'll look for her on the right client.

Thanks i post if i get sucess.
 
Upvote 0
Newbie Spellweaver
Joined
May 24, 2019
Messages
26
Reaction score
2
thanks i solved this problem.

The key is

new byte[]{0x21, 0x00, 0x00, 0x00, 0x56, 0x00, 0x00, 0x00,(byte) 0xDE, 0x00, 0x00, 0x00, (byte) 0x76, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00, (byte) 0xD6, 0x00, 0x00, 0x00,(byte) 0x8B, 0x00, 0x00, 0x00},

but necessery alter server side ^^
 
Upvote 0

Sen

Newbie Spellweaver
Joined
Dec 5, 2015
Messages
52
Reaction score
5
this is BMS from Gusmão? hahahaha

just replace the key and its work.
 
Upvote 0
Newbie Spellweaver
Joined
May 24, 2019
Messages
26
Reaction score
2
yes. this client of MrMr

You nead change in your server this line
@Override
public final String readAsciiString(int n) {
byte ret[] = new byte[n];
for (int x = 0; x < n; x++) {
ret[x] = (byte) readByte();
}
String encode = CharsetConstants.MAPLE_TYPE.getAscii();
try {
String str = new String(ret, encode);
return str;
} catch (Exception e) {
System.err.println(e);
}
return "";
}

is in GenericLittleEndianAccessor using HeavenMS for Work.
 
Upvote 0
Back
Top