diff --git a/app_shield_bruteforce.py b/app_shield_bruteforce.py index f8a1132..98b689a 100644 --- a/app_shield_bruteforce.py +++ b/app_shield_bruteforce.py @@ -4,17 +4,26 @@ from time import sleep """ This script bruteforce applock (aka Privacy Protection) feature in MIUI. -!NO ROOT NEEDED! + +! NO ROOT NEEDED ! + It can be useful if you forgot password If you wanna just get access to locked app then execute in adb shell: settings put secure access_control_lock_enabled 0 But it doesn't give you access to applock settings. -If you want to get access to that settings then you have to use this script --1. Some names may be inaccurate because I used Russian interface -0. It works only with 4 numbers pin code -0.1 It has been tested only with Redmi Note 8 pro, for others phone + +If you want to get access to applock settings then you have to bruteforce +pin by this script. + +Some notes for your information: +1. Some names may be inaccurate because I used Russian interface +2. It works only with 4 numbers pin code, but you can use principle +of this script to try bruteforce others option (check out "Common algorithm of the script" section). +3. It has been tested only with Redmi Note 8 pro, for others phone you may have to get screen coordinates of numbers in screen keyboard -1. Open screen of app lock settings with pin code requirements (Settings -> App -> Apps protection) + +How to start bruteforce: +1. Open screen of lockapp settings with pin code requirements (Settings -> App -> Apps protection) 2. Run this script 3. Wait @@ -22,12 +31,12 @@ Common algorithm of the script: 1. Choose next pin to test (from range 0000 -> 9999) 2. Enter it by using "input" command 3. By using command "settings get secure applock_countDownTimer_deadline" find out if pin was correct. If was then exit from script -4. Press back key by using "input" command -5. Reset KD timer by "settings put secure applock_countDownTimer_deadline 0" command (that's why it all works) +4. Press back key by using "input" adb command +5. Reset cooldown timer by "settings put secure applock_countDownTimer_deadline 0" adb command (that's why it all works) 6. Enter into applock pin requirements screen 7. Back to point 1 -Special thanks to +Huge thanks to https://www.webcazine.com/19186/miui-what-to-do-if-youve-forgotten-your-privacy-protection-password/ """