timvisee / apbf Goto Github PK
View Code? Open in Web Editor NEWTool to brute force Android security pattern through TWRP recovery. https://gitlab.com/timvisee/apbf
License: GNU General Public License v3.0
Tool to brute force Android security pattern through TWRP recovery. https://gitlab.com/timvisee/apbf
License: GNU General Public License v3.0
I'm using apbf to attempt a recovery of a 5x5 pattern. Obviously that's a huge number of options, even if I know that my pattern has a max distance of 1. I do however think I know some elements of the pattern.
It would be amazing if you could fix dots in the pattern (e. g. in my case I believe my pattern started with 0, 5, 10, 15, 25) to decrease the permutations considerably.
Happy to sponsor the adjustments needed, ping me.
Like, i can imagine that this tool could be used by bad law enforcement to do bad things, like the chinese gov. GPL3 permits any use at all, while hippocratic doesnt allow the evil uses.
I know it won't be "open source" (as defined by OSI and FSF), but come on. This is literally a tool to brute force the android FBE.
Also, i know that they probably have their own tools for that and it is very unlikely that a license would stop them, but it is some effort, right?
Do you have a pointer on where I can find the source code for the timeout of TWRP?
As I sadly have set a 4x4 pattern, it is not feasible to brute force it with 10 seconds timeout, so instead I would like to give it one last try and compile TWRP without this timeout, so I can bruteforce it more quickly. But sadly I cannot find the corresponding source code line.
Thank you very much for your tool by the way.
Greetings. The matter in case is a forgotten PIN. While this tool is wonderful for patterns, could you please either start a new project or modify this one for usage in scenarios of PINs, which I guess would be less complicated than brute forcing patterns. Thank you! ๐ค
Is it possible to remove the timeout enforcement from TWRP? Also, are you aware that people have been having trouble with TWRP decryption in that it wouldn't decrypt even after it's given the right password?
Is it possible to make use of a wordlist? I am quite sure of the first dot in my 8digit-pattern, so i could decrease the amount of tries from 40.000 to 2.700....
Awesome work!!
I keep getting this message
$ cargo run --release
Finished release [optimized] target(s) in 0.03s
Running `target\release\apbf.exe`
Generating possible patterns...
Patterns to try: 1614
Pattern: 2-1-0-3
โโโ
โโโ
โโโ
Passphrase: '3214'
1 / 1614 [>----------------------------------------------] 0.06 % 49019.61/s 0s
thread 'main' panicked at 'failed to invoke decrypt command: Error { kind: NotFound, message: "program not found" }', src\main.rs:139:10
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
error: process didn't exit successfully: target\release\apbf.exe
(exit code: 101)
Have no idea, what's wrong.
Generating possible patterns...
Patterns to try: 1614
Pattern: 2-1-0-3
โโโ
โโโ
โโโ
Passphrase: '3214'
1 / 1614 [>---------------------------------------------------------------------------------------] 0.06 % 564.72/s 3s
An error occurred, heres the output for the decryption attempt:
status: exit code: 0
stdout: Attempting to decrypt data partition or user data via command line.
Attempting to decrypt FBE for user 0...
Failed to decrypt user 0
stderr:
error: process didn't exit successfully: .\apbf.exe
(exit code: 1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.