K2 Portal Password Generator.
Generate daily passwords for K2 portals.
For basic configuration changes, use OSAccessLevel.PasswordOfTheDay
.
For engineer mode and the local Windows account, use OSAccessLevel.Full
and pass the on-screen token.
PasswordGenerator.cs
decompiled from Shell.exe
using dnSpy
, with an added Main
entry-point and OSAccessLevel
enum included.
The method for generating passwords can be found in PasswordGenerator.GeneratePassword
.
A pure-Python implementation can be found in PasswordGenerator.py
, designed to be as close to the original as possible.
The Python implementation is licensed by the GPL-3.0.
K2MS = https://www.k2ms.com
dnSpy = https://github.com/dnSpy/dnSpy