_py-kms_ is a port of node-kms created by [cyrozap](http://forums.mydigitallife.info/members/183074-markedsword), which is a port of either the C#, C++, or .NET implementations of KMS Emulator. The original version was written by [CODYQX4](http://forums.mydigitallife.info/members/89933-CODYQX4) and is derived from the reverse-engineered code of Microsoft's official KMS.
- __NOTE__: Pay attention to how invoke scripts, if you want to run _py2-kms_ use ```python...``` while for _py3-kms_ use ```python3...```, also depending on the Python versions that resides in your PC.
- To start the server, execute ```python server.py [IPADDRESS] [PORT]```.
The default _IPADDRESS_ is "0.0.0.0" ( all interfaces ) and the default _PORT_ is "1688".
- To run the client (only for testing purposes), use ```python client.py IPADDRESS [PORT]```.
Argument _IPADDRESS_ is always required, while the default _PORT_ is "1688", so a valid command is: ```python client.py 0.0.0.0```
- To show the help pages type: ```python server.py -h``` and ```python client.py -h```
- To generate a random HWID type: ```python randomHWID.py``` or directly in the server ( with ```-w``` option ) ```python server.py -w random```
- To get the HWID from any server use the client, for example type: ```python client.py 0.0.0.0 1688 -m Windows81 -v INFO```
- To generate a random EPID type: ```python randomPID.py```