Skip to content

itsarts1/PyKMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

History

This Version allows for activation of Windows Server 2022-2025
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 all versions after Windows Vista / 2008 and Office 2010.
  • It's written in Python.

Dependencies

  • Python 2.6 or higher, micropython v1.9 or higher.
  • Python 2.6 needs the "argparse" module installed.
  • Micropython needs libffi, and modules in micropythonlib, check section below.

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 run on ipv6, please use a valid ipv6 address, for example :: for broadcast.

Micropython support (unix port only)

  • Micropython v1.9 is necessary since large int support starts here.
  • You need libffi.
  • You need some standard library of module. Use micropython -m upip install -r requirements-micropython.txt to install.
  • Only unix port is supported. Other platforms don't have some stdlib and performance may be a problem.

Disclaimer

This program is meant for education use only and not meant to be used in production environment. We do not condone hosting this software for public use and we only suggest this for educational environments. We are not liable for any claims from Microsoft Corp.
DO NOT PUBLICLY HOST THIS.

About

KMS Server Emulator written in Python. New Update allows Windows Server 2022-2025

Resources

License

Stars

Watchers

Forks

Packages

No packages published