Skip to content

Commit 45de018

Browse files
authored
Update README.md
1 parent 2878ca4 commit 45de018

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ To compute the private key, we will need to supply the tool with the public ECC
240240
The order of the base point can be computed using SageMath.
241241

242242
**Here's the basic algorithm I used to reverse the Windows 98 private key:**
243+
243244
1. Compute the order of the base point using **SageMath**. In SageMath, execute the following commands:
244245
1) `E = EllipticCurve(GF(p), [0, 0, 0, a, b])`, where `p`, `a` and `b` are decimally represented elliptic curve parameters from the BINK resource.
245246
2) `G = E(Gx, Gy)`, where `Gx` and `Gy` are decimally represented base point coordinates from the BINK resource.
@@ -254,7 +255,7 @@ The order of the base point can be computed using SageMath.
254255
3) Insert the factors of the base point order `n` and specify the factor count. It will very likely be `1`, as Microsoft mainly uses primes for their generator orders.
255256
4) Run the tool `<arch> ECDLP Solver.exe <job_name>.txt` and wait until it calculates the private key `k = %d` for you.
256257

257-
Here's an example of the Windows XP job `job_xp.txt` that yields the correct private key for the ECDLP Solver.
258+
**Here's an example of the Windows XP job `job_xp.txt` that yields the correct private key for the ECDLP Solver.**
258259

259260
```pascal
260261
GF := GF(22604814143135632990679956684344311209819952803216271952472204855524756275151440456421260165232069708317717961315241);
@@ -267,9 +268,15 @@ FactorCount:=1;
267268
*/
268269
```
269270

270-
And the ECDLP Solver output for it:
271+
**And the ECDLP Solver output for it:**
272+
271273
![ECDLP Solver Output](https://github.com/Endermanch/XPKeygen/assets/44542704/ca018eae-ae33-41e5-a689-2c17da972184)
272274

275+
**Important note:**
276+
277+
Be wary that I could not generate a correct Windows XP x64 key using the private key I've reversed, even using the `Ky` coordinate instead of usual `-Ky`.
278+
For some reason, I also failed to calculate the Windows Server 2003 base point order using SageMath. **I gave it 12 hours to compute on my i7-12700K, but it was still stuck calculating.**
279+
273280
### Validating / generating product keys
274281
The rest of the job is done within the code of this keygen.
275282

0 commit comments

Comments
 (0)