Quote from: Camel on December 01, 2009, 08:11 PM
run it in a debugger and compare what the C code does to the Java code
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Camel on December 01, 2009, 08:11 PM
run it in a debugger and compare what the C code does to the Java code
Quote from: Hdx on November 23, 2009, 12:24 AMTo elaborate, it has to decode. It doesn't have to be accepted by [the real] Battle.net, or probably even have the right product ID.
3) For CDKey, you need to send it a valid cdkey IIRC 3333333333333 works.
Quote from: Strilanc on October 23, 2009, 01:36 PMThis is sort of misleading; the installer just checks that the key is decodable, and is for the product - like buying a car on ebay based on the picture looking like a car instead of a motorcycle, but without starting it up to see if it runs. When you send the 3 DWORDs to Battle.net, it checks that the private key matches the other two values according to whatever algorithm they used to generate the CD keys in the first place.
Because the battle.net check is significantly stronger.
Quote from: Strilanc on October 23, 2009, 01:29 PMThat's extremely unlikely, considering there's a huge amount of evidence that the relationship is algorithmic. I don't recall all the details exactly, but there has been a great deal of work put in to studying the relationship, and someone was able to come up with code that generated a battle.net-acceptable SC key about 5% of the time. If it was truly random, they either used a really shitty random number generator, or all the moons were just perfectly aligned.
I believe the private is not related to the public key mathematically, it is just generated randomly. Blizzard stores all the information on cd keys it has generated, so when you connect to bnet they can lookup your private key given the public key.
int[] getInts() {
List<Integer> ints = new ArrayList<Integer>(100);
for(int x = 0; x < 100; x++)
ints.add(new Integer(x));
return ints.toArray();
}
Quote from: Strilanc on October 21, 2009, 01:26 PMIf you say so.
That is code for extracting the public/private/product values from a cd key. It is needed for bnet login, and is probably involved in verifying the key, but doesn't actually perform verification.
Page created in 0.171 seconds with 16 queries.