Member-only story
How I Bypassed App PIN Lock and Root Detection Using Hooking
In this blog, we will discuss how we can bypass pin lock and root detection in an app
App Pin lock bypass
Case 1
This app is validating the user by entering 4 digit number, which is 5555. Let's understand the passcode logic, how it's validating the user.
After analyzing the app via Jadax i came to know these classes are responsible. Let’s understand each of them thoroughly.
-> CreatePasscode.java - It generates a new passcode
This code validates a 4-digit passcode, saves it locally, shows a success message, and navigates to the next screen.
-> UserAuthSave.java - It handles passcode storage
This function stores the user’s passcode in plaintext inside SharedPreferences and sets a flag…