We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo python3 aplc.py gesture.sample.key ################################ # Android Pattern Lock Cracker # # v0.2 # # ---------------------------- # # Written by Chema Garcia # # http://safetybits.net # # [email protected] # # @sch3m4 # ################################ [i] Taken from: http://forensics.spreitzenbarth.de/2012/02/28/cracking-the-pattern-lock-on-android/ Traceback (most recent call last): File "/home/htb-onibi/androidpatternlock/aplc.py", line 178, in <module> main() File "/home/htb-onibi/androidpatternlock/aplc.py", line 152, in main gest = f.read(hashlib.sha1().digest_size).encode('hex') AttributeError: 'bytes' object has no attribute 'encode'
I don't know whats cause that and how to solve it
The text was updated successfully, but these errors were encountered:
Replace:
gest = f.read(hashlib.sha1().digest_size).encode('hex')
with:
gest = f.read(hashlib.sha1().digest_size).hex()
Sorry, something went wrong.
No branches or pull requests
I don't know whats cause that and how to solve it
The text was updated successfully, but these errors were encountered: