Jump to content

ghroth

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

ghroth's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. ...Another noobish question. To hash "username:password", requires username to be in uppercase.. what about password?
  2. Yeah, got it.. i must be blind. Thank you!
  3. All of them? Or just user's S? ps. it's the srp structure
  4. User -> Host: I, A = g^a (identifies self, a = random number) Host -> User: s, B = kv + g^b (sends salt, b = random number) Both: u = H(A, B) User: x = H(s, p) (user enters password) User: S = (B - kg^x) ^ (a + ux) (computes session key) User: K = H(S) Host: S = (Av^u) ^ b (computes session key) Host: K = H(S) A simple question.. in these formulas, ^ means xor or exponentiation?
  5. Hello, i would like to get some knowledge about how the account values are generated. To be honest, i'm a delphi beginner and looking in AuthSocket.cpp is just killing my brain cells. What i've foudn so far, are the given values that can be used: Account's username is stored in database. Account's password is stored in database like "sha1(USERNAME:PASSWORD)" For example: sha1("USERNAME:PASSWORD") is "5B039D152722E351C8BDEBCF06FD8CD4E5244D78" N = B79B3E2A87823CAB8F5EBFBF8EB10108535006298B5BADBD5B53E1895E644B89 g = 7 k = 3 Packets stracture: http://www.madx.dk/wowdev/wiki/index.php?title=Packets SRP Protocol Design: http://srp.stanford.edu/design.html I can also understand that the "v" and the "s" values in database are created and stored by the first account's verification while seasonkey is generating each time the account connects. What i can't understand is the way of creation of the "seasonkey" and "s" (salt?) values in database. ..the "v" must be "g ^ sha1(s, sha_pass_hash)", right? Sorry for my bad english and my noobish questions
  6. Latest ScriptDev2 rev moved to 1079, but still the same problem. Guess we gotta wait.
  7. For some reason i get these errors at the end of "make install": make[3]: *** [install-pkgdataDATA] Error 1 make[3]: Leaving directory `/mangos/mangos/objdir/sql/updates' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/mangos/mangos/objdir/sql/updates' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/mangos/mangos/objdir/sql' make: *** [install-recursive] Error 1 I've searched around and i found nothing similar to this. So i guess it's only me who's doing something wrong
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use