Advertisement
geofferey

[BASH] ADB/Remote PIN Input

Apr 4th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #!/system/xbin/bash
  2.  
  3. # Android Remote Unlock Script
  4. # By: Geofferey @ IG & XDA 2018
  5. # Just a simple script to input password
  6. # via ADB, SSH, Telnet etc on Android
  7. # Pace in /system/xbin/remote-unlock &
  8. # give execute perms (e.g. chmod 500)
  9.  
  10. echo ""
  11.  
  12. read -s -p "Enter password:" PASS
  13.  
  14. input keyevent KEYCODE_POWER
  15. input keyevent 62
  16. sleep 1
  17. input text $PASS
  18. input keyevent 62
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement