Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for Telegram Passcode (android) #1534
The popular chat-app Telegram has a feature in the settings-menu to protect the app with a passcode. The source code for this protection can be found on the Telegram-github (line 411).
One finds the passcodeHash and the passcodeSalt in the user file userconfig.xml.
When reading the code, it seemed to me that it is very easy to find the passcode. I wrote the following script to retrieve the passcode. See my Github-page for the details.
So, the used algorithm is
Can this be added to Hashcat?
Is it always 4 digits? A trivial CPU implementation or even a perl script exhausts that keyspace in a few seconds. Writing a GPU format for it would be a total waste of time.
If the key can be other characters, perhaps even Unicode ones, it makes a little more sense.
I do not understand your question. Can you please reformulate?