does anybody knows how to generate the server seed? menu

These ads disappear when you log in.

Results 1 to 10 of 10
  1. #1
    elfalcon's Avatar Private
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    does anybody knows how to generate the server seed?

    header.please help me ... my emulator recieves the clientseed and then what..how should i generate the serverseed? i have the whole communication sniffed in wireshark but i cant just copypaste it cause its dynamic right? please help im sure someone of you know this

  2. #2
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Ah, if you're going to developing gw2 emulator and you've already stuck here, I don't know how you're going to do it...

    1) After generating of the shared key, the server generates a random seed and xors it with the shared key;
    2) The server sends SS (= serverseed) to the client;
    3) Both the client and the server hashes this SS with a hash custom function;
    4) Using rc4 for cryptography... etc

    If you've more questions, then ask me here.
    P.S. Sorry for d-posting.
    Last edited by WOST; 02-12-2013 at 09:15 AM.

  3. #3
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Ah, if you're going to developing gw2 emulator and you've already stuck here, I don't know how you're going to do it...

    1) After generating of the shared key, the server generates a random seed and xors it with the shared key;
    2) The server sends SS (= serverseed) to the client;
    3) Both the client and the server hashes this SS with a hash custom function;
    4) Using rc4 for cryptography... etc

    If you've more questions, then ask me here.

  4. #4
    elfalcon's Avatar Private
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by WOST View Post
    Ah, if you're going to developing gw2 emulator and you've already stuck here, I don't know how you're going to do it...

    1) After generating of the shared key, the server generates a random seed and xors it with the shared key;
    2) The server sends SS (= serverseed) to the client;
    3) Both the client and the server hashes this SS with a hash custom function;
    4) Using rc4 for cryptography... etc

    If you've more questions, then ask me here.

    thanks for the reply ...i started to think that this thread is dead... so the serverseed is the shareedkey xored with a random value? it must be something specific? or anything 20byte long will do? i mean... will the client reply?..cause i dont know how to get the shared key.. im developing it with my friend and hes the reverse engineer but he is low on time :/

  5. #5
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Gw2 client use RC4 encryption and Diffie-Hellman key exchange. So, I tell you about this crypto system.

    1) At the server side:
    a_server - (random) server private key;
    g ^ (a_server) mod prime - server public key;

    2) At the client side (the moment of exchange):
    private - client private key;
    public ^ private mod prime - shared key(Diffie-Hellman);
    y_client (g ^ private mod prime) - client public key;

    3) Client send y_client to the server;

    4) At the server side (the moment of exchange):
    y_client^x_server mod prime - shared key(Diffie-Hellman).

    The size of public, prime and private key is 64 byte(512bit).
    Prime is the constant of this schema, public key is static and private key is generating at process run.

    There you go.
    Last edited by WOST; 02-12-2013 at 12:36 PM.

  6. #6
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    It's hard to understand you. Please, write correctly.

  7. #7
    Analhammer's Avatar Master Sergeant
    Reputation
    7
    Join Date
    Jan 2009
    Posts
    70
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by WOST View Post
    Gw2 client use RC4 encryption and Diffie-Hellman key exchange. So, I tell you about this crypto system.

    1) At the server side:
    a_server - (random) server private key;
    g ^ (a_server) mod prime - server public key;

    2) At the client side (the moment of exchange):
    private - client private key;
    public ^ private mod prime - shared key(Diffie-Hellman);
    y_client (g ^ private mod prime) - client public key;

    3) Client send y_client to the server;

    4) At the server side (the moment of exchange):
    y_client^x_server mod prime - shared key(Diffie-Hellman).

    The size of public, prime and private key is 64 byte(512bit).
    Prime is the constant of this schema, public key is static and private key is generating at process run.

    There you go.
    x_server should be a_server

    I guess the shared key is the RC4 crypto key?
    Seems not too difficult.

  8. #8
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Doesn't matter, I showed you the scheme. Right, you need to get all the keys, then you can calculate the shared key.
    Yep, it isn't too difficult, but your ASM should be an excelent to find the keys, replace, decrypt etc.
    By the way, I've already reversed the client.

  9. #9
    WOST's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Hm, generally, I can help you with encryption and packets. But the question is in my desire...
    Okay, if you need my help, write me here and we will discuss.

  10. #10
    cr0c's Avatar Member
    Reputation
    1
    Join Date
    Mar 2014
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Why the hell isn't this topic a sticky thread?

    I have been looking for such valuable information on my own, and with the right keyword I've eventually ended up here.

    Now I can tell you that I can (almost) deal a key with the server.

Similar Threads

  1. Replies: 3
    Last Post: 02-06-2009, 04:24 PM
  2. does anybody know how to hack poker sites with wpe pro/tsearch
    By U_dont_kno_me? in forum Community Chat
    Replies: 4
    Last Post: 06-23-2008, 12:18 AM
  3. Hey does anyone know how to setup the player map in.........
    By PRIMO12 in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 01-08-2008, 04:06 AM
  4. Does anybody know how to teleport hack without D/C
    By vivec45 in forum World of Warcraft General
    Replies: 0
    Last Post: 08-03-2007, 09:04 PM
  5. does anyone know how to get the wow nude mod?
    By mcorey93m2006 in forum World of Warcraft General
    Replies: 9
    Last Post: 05-09-2007, 12:43 AM
All times are GMT -5. The time now is 07:21 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search