Comments (7)
Hi @cyb3rm00n, an unlock pattern can be sent through an emulated mouse device. It can't be sent as keyboard input (EDITED)
Perhaps you could help by finding and sharing some more up to date resources on how the Android pattern is implemented for 4x4 or 5x5 grids?
There's some good resources on this topic:
Android Pattern Lock Cracker
Really, the pattern lock is the SHA1 hash sequence of digits (0-8) with length from 3 (4 since Android 2.3.3) to 8.
https://github.com/sch3m4/androidpatternlock
On User Choice for Android Unlock Patterns
Abstract—Android Unlock Patterns are one of the most widelyused graphical password schemes. However, the scheme’s securityis limited by users not choosing patterns uniformly but with aspecific bias. In this work we take a closer look at this bias, inparticular how personal traits influence the chosen patterns. Weconducted a user study with 800 participants and demonstratethat certain factors such as age, gender, and experience inIT significantly influence the strength or length of the chosenpatterns. This has implications both for how we can help usersto select stronger patterns and for forensic applications.
Note: this has data on the most popular unlock patterns.
from android-pin-bruteforce.
Thank you for the resources. Although If I have understood correctly, I could use any wireless keyboard to connect to a phone and unlock de pattern with the corresponding numbers. That doesn't work (or at least it doesn't work for me), that's why I'm interested in that missing feature.
from android-pin-bruteforce.
You could use a regular wired keyboard. Plug a USB OTG adaptor into the locked phone, then plug a regular keyboard into the adaptor. Now you can press numbers and it will interact with the pattern lockscreen.
A wireless keyboard would need to be connected to the device first and that would be more complicated.
from android-pin-bruteforce.
Another approach for pattern cracking is to emulate mouse movements on the phone.
from android-pin-bruteforce.
I think I didn't explain myself properly. When I said wireless keyboard I meant a keyboard connected by USB OTG, my fault. At least for me, - i've tried with two different phones - doesn't work the pressing number method to interact with the pattern, the phone doesn't react to the numbers been pressed. I've tried with a wired mouse plugged on a USB OTG but the pressing is not consistent enough so it's not posible to form the pattern (i don't know why).
from android-pin-bruteforce.
Pattern cracking will have to be implemented through an emulated mouse device.
from android-pin-bruteforce.
I would like to contribute with this feature. Just need resources on how to send mouse signals over your implementation and how to develop scripts with your tool.
from android-pin-bruteforce.
Related Issues (20)
- does it work in termux HOT 3
- 10,000 pins were successfully tried and the correct pin was not found. HOT 6
- HID device (/dev/hidg0) not found HOT 2
- HID USB device Not Ready HOT 2
- [FAIL] hid-keyboard executable (/system/xbin/hid-keyboard) not found. Hint: You can configure an alternative location for this file with the HID_KEYBOARD variable in the config file.Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 2
- Locked phone: XXX, Nethunter phone: Xioami Redme 9 - hid usb not able HOT 3
- Hid device HOT 1
- Tablet support? HOT 1
- does it work on cubot kingkong3? HOT 1
- Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 5
- [FAIL] HID device (/dev/hidg0) not found HOT 10
- Locked phone: POCO F3, Nethunter phone: Sony Xperia Z1 - Sending custom return buttons HOT 6
- Stop BF when it finds correct PIN? HOT 1
- hid-keyboard: cannot execute: required file not found. HOT 2
- Problems with nethunter rootless HOT 1
- Too many attempts timer HOT 5
- Help HOT 1
- Locked phone: XXX, Nethunter phone: XXX - Bug description HOT 1
- How to get it running on Kali on a Laptop via USB-C
- Tshs phone brutefukrce HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-pin-bruteforce.