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
|# coding: utf-8|
|from objc_util import *|
|context = ObjCClass('LAContext').alloc().init()|
|policy = 1 #put 1 if you want to auth with password, 2 with passcode|
|reason = 'We need you fingerprint to ste...ehm... to log you in'|
|if console.input_alert('Password') == 'Itsme':|
|print 'WRONG PSW'|
|if str(autherr).startswith('Application retry'):|
|print('Too many wrong fingerprints!!')|
Aug 25, 2015
Yeah, sorry about the pull request, i dont use repos very much :-)
I have improved the script to handle more errors and options and @omz made a fork with exeptions and module style script
This is supercool functionality. A great idea.
A repo would keep us all focused on the latest and greatest version instead of forked gists that Can become out of sync with each other.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Pull requests are only possible on repos, not on gists.
Fixed spelling on