Skip to content

dabear/kms-server

Repository files navigation

History

py-kms is a port of node-kms by markedsword, which is a port of either the C#, C++, or .NET implementations of KMSEmulator, of which the original version was written by CODYQX4 and is derived from the reverse-engineered code of Microsoft's official KMS.

Features

  • Responds to V4, V5, and V6 KMS requests.
  • Supports activating Windows 7/8/8.1/2008R2/2012/2012R2 and Office 2010/2013.
  • It's written in Python.

Dependencies

  • Python 2.7.x or Python 2.6.x with the "argparse" module installed.
  • If the "pytz" module is installed, the "Request Time" in the verbose output will be converted into local time. Otherwise, it will be in UTC.
  • It can use the "sqlite3" module so you can use the database function. (it stores activation data so it can be recalled again.) (-s)

Usage

  • To start the server, execute "python server.py [listen_address] [port]". The default listening address is "0.0.0.0" (all interfaces) and the default port is "1688".
  • To run the client, use "python client.py server_address [port]". The default port is 1688.
  • To show the help page type: "python server.py -h"

Other Important Stuff

  • To generate a random hwid type: "python randomHWID.py" or directly in the server (-w random) for example: "python server.py -w random"
  • To generate random epid and hwid type: "python randomPID.py"
  • To get the hwid from any server use the client, for example type: "python client.py 127.0.0.1 1688 -v -m Windows81"

Tested with Python 2.7.8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages