Bypass Telegram Desktop "Local passcode" lock widget. Works for Telegram for Windows version 4.1.1 both x64 and x86. Telegram should be unlocked at least once while the process is running, otherwise Telegram's process will crash after injection.
dotnet build
cd injector
dotnet run [pid] [mode]
Once build you can launch injector.exe
passing pid
and mode
as arguments. Specify telegram's process id as pid
and mode
one of the values 0, 1 or 2, that represents:
0
- window will be unlocked when valid passcode is introduced1
- window will be unlocked when only invalid passcode is introduced2
- window will be unlocked when any non-empty value is introduced
If no pid
and/or mode
are specified, the default values are:
pid
- active process with nametelegram
mode
-2
Original | Allow invalid only | Allow all |
---|---|---|