Programming and Scripting > Java

[Tool] Android Screenlock Gesture Crack

(1/2) > >>

Psycho_Coder:
AndroidGestureCrack

Cracks Android Screenlock Gesture Pattern using dictionary Attack

Description

A Java tool to crack the Gesture Screenlock pattern of an Android Phone. Android's pattern lock contains a SHA1 hash of the pattern in a gesture.key file in /data/system folder in the internal memory of the android. It has been tested on Android API Level 15 and up, but should work with lower versions as well. As long as you extract the gesture.key file this tool will work well. The key is a SHA1 hash of the sequence of bytes of the pattern. The hash is unsalted and hence very easy to crack. The code uses the dictionary which you can download from the link below:-

Download Dictionary

Usage

You need to get the gesture.key file from android hidden system folder and extract the dictionary file from link above. Use them in the following way:


--- Code: ---java -jar AndroidGestureCrack.jar --gui
                    or
java -jar AndroidGestureCrack.jar gesture.key AndroidGestureSHA1.txt

--- End code ---

Sample Run





Note: There are scopes to improve the GUI (I haven't used any layouts in general but if you make some changes then let me know.)

Project Link: https://github.com/AnimeshShaw/AndroidGestureCrack
Download Latest release: https://github.com/AnimeshShaw/AndroidGestureCrack/releases/download/v2.0-beta/AndroidGestureCrack.jar

You Require Java 8 to compile the code

Psycho_Coder:
Update: Made little changes and added an executable jar.

Trevor:
The algorithm behind this for those who are interested.

http://www.cclgroupltd.com/a-rainbow-table-for-android-pattern-locks/

Psycho_Coder:
Thread Updated and a new version has been released. Now it comes along with a GUI as well.

0E 800:
Nice work.

Is it possible to get the gesture.key without a rooted phone?
Is it possible to get key if unable to enable ADB on phone?

Navigation

[0] Message Index

[#] Next page

Go to full version