Created
August 11, 2018 04:28
-
-
Save Geofferey/e83a4b83ad05a551497f50c071d4e875 to your computer and use it in GitHub Desktop.
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
#!/system/xbin/bash | |
# Android Remote Unlock Script | |
# By: Geofferey @ IG & XDA 2018 | |
# Just a simple script to input PIN | |
# via ADB, SSH, Telnet etc on Android | |
# Pace in /system/xbin/pin-unlock & | |
# give execute perms (e.g. chmod 500) | |
echo "" | |
read -s -p "Enter password:" PASS | |
input keyevent KEYCODE_POWER | |
input keyevent 62 | |
sleep 1 | |
input text $PASS | |
input keyevent 62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment