py-kms is a port of node-kms created by cyrozap, which is a port of either the C#, C++, or .NET implementations of KMS Emulator. The original version was written by CODYQX4 and is derived from the reverse-engineered code of Microsoft's official KMS.
v4
, v5
, and v6
KMS requests.Docker
, systemd
, Upstart
and many more...sqlite
for persistent data storage.The wiki has been completly reworked and is now available on readthedocs.com. It should you provide all necessary information how to setup and to use py-kms , all without clumping this readme. The documentation also houses more details about activation with py-kms and how to get GVLK keys.
python3 pykms_Server.py [IPADDRESS] [PORT]
, the default IPADDRESS is 0.0.0.0
( all interfaces ) and the default PORT is 1688
. Note that both the address and port are optional. It's allowed to use IPv4 and IPv6 addresses. If you have a IPv6-capable dual-stack OS, a dual-stack socket is created when using a IPv6 address.docker run -d --name py-kms --restart always -p 1688:1688 pykmsorg/py-kms
.python3 pykms_Server.py -h
and python3 pykms_Client.py -h
.pykms_Server.py
executable with chmod +x /path/to/folder/py-kms/pykms_Server.py
, then simply run pykms_Server.py
by double-clicking.