Code Monkey home page Code Monkey logo

Comments (4)

simonmicro avatar simonmicro commented on June 9, 2024

Okay, according to

'hwid' : {'help' : 'Use this option to specify a HWID. The HWID must be an 16-character string of hex characters. \
the default HWID is actually hard coded. Tbh I have also no idea why it was implemented that way. If I recall correctly the Docker setup also uses a hard coded value... @SystemRage why do we do this?

Regarding the client count... Maybe somewhere else in the code...

I'll update the docs when someone could explain this (and this person will not update the docs by herself)...

from py-kms.

WinkelCode avatar WinkelCode commented on June 9, 2024

I just looked into the code again and found this part that seems to explain what happens with the clientcount:

# fixed to 10 (product server) or 50 (product desktop)

Looks like "none" actually means (according to the comment) 10 clients for Server versions and 50 for Desktop versions (or, 2x the minimum activation count).

Still wondering about the HWID though, is it at any point transmitted to the client or is that just the ePID (which is randomized by default)?

from py-kms.

SystemRage avatar SystemRage commented on June 9, 2024

The initial versions of py-kms had a "randomHWID.py", then fork-by-fork
this small code was introduced directly in "server.py".
Its use was intended to help the user to create the HWID string (and now with -w option), but
just for once, so you have to always reuse the same value.
Technically you should put real values for HWID and EPID, which come from a real KMS server,
otherwise your emulated server doesn't acts as much as possible as a real one.

In a local context doesn't seem to affect clients activations
(maybe when updating, some KB package can reveal that a client was activated by a not original server ??? I think not, but i don't know.).
Instead if you want to make public your KMS server you have some more problems, since can be marked by M$ as not genuine and stopped/banned.
So random HWID and EPID generation are not the best (but they are the original algorithms so as long as they work... i left them untouched).
See for details "vlmcsd" -r0, -r1, -r2 options.
Could be added something similar for py-kms.
Other info: https://forums.mydigitallife.net/threads/a-couple-questions-regarding-the-various-kms-tools.51662/

from py-kms.

simonmicro avatar simonmicro commented on June 9, 2024

Thanks for the explanation - in combination with the notes in the docs, I've now got a pretty clear picture of how it works! 👍

from py-kms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.