Created
June 16, 2021 14:29
-
-
Save timvisee/c4f3d7a3d8630b81f969a7dcfc60e71d to your computer and use it in GitHub Desktop.
https://github.com/timvisee/apbf for 4 or 5 digit PIN ending with 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Loop through all 4 and 5 digit combinations | |
for pin in $(seq -f "%04g" 0 99999) | |
do | |
# Skip all pins not ending with 7 | |
[[ $pin == *7 ]] || continue | |
# Test code | |
echo "Testing: $pin" | |
adb shell 'twrp decrypt $pin' | |
sleep 11s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment