D:\developsoft\JDK
Android Keystore Password Recovery
https://code.google.com/p/android-keystore-password-recover/
A few weeks ago I just forgot the password for my android keystore, so I couldnt update my app for the market. So I decided to code a little bruteforcing tool to recovery my password.
Java 7 is required to run this tool!!
download here
Download now on gdrive, because gcode has deactivated downloads :( https://drive.google.com/file/d/0B_Rw7kNjv3BATldrLXMwcVRud2c/edit?usp=sharing
Details
The tool recovers the key for your alias. By default this is the same like the keystore password. I will try to add an option to recover both passwords if they are not equal. Now there is an option to save the key in a new keystore with the same password than the key! You can use this, to sign your apk and update your app in the Playstore.
There are 3 Methods to recover your keystore password:
- Simply Bruteforce
- Dictionary Attack
- Smart Wordlist Attack
In my opinion the last option is the best. You specify some password segments in a textfile. All the segments will be permute and mixed together with numbers.
for example:
your password is: got2loveYa123 in your dictionary should be:
got
love
ya
Numbers are added automatically. Each word will be added twice, once like you wrote and once with the first letter capitalized, so you just have to write your words once if your are not shure if you first letter was uppercase or lowercase
Good luck
Thanks to Casey Marshall <rsdio@metastatic.org> for JKS API http://metastatic.org/source/JKS.html
TODO
Possibility to specify chars used for bruteforce (regex)
Maybe multithreading to be faster on multicore systems
Recover both passwords (keystore and key) if they are not equal
Changelog
version 1.05
Now you can set the start String for Brute Force, so you can continue if you had to terminate the tool
version 1.04
Now with MultiThreading for BruteForcing. Should give you a good chance for Passwords that are 6 or 7 chars long
version 1.03
Now there is an option to save the key in a new keystore with the same password than the key!
New option to specify the minimum length of the password (for brute force)
version 1.02
added new option for smart wordlist attack. With the parameter '-p' you activate the common replacements permutation mode. Thanks to Jeff Lauder, who wrote the code for this. More Information are in the wiki
version 1.01
small fixes
How To
Java 7 is required to run this tool!!
download here
Download the latest version of the Tool
https://drive.google.com/file/d/0B_Rw7kNjv3BATldrLXMwcVRud2c/edit?usp=sharing
execute with
java -jar AndroidKeystoreBrute.jar <args>
possible args
-m <1..3> Method
-k <path> path to your keystore
-d <path> dictionary (for method 2 and 3)
-p use common replacements like '@' for 'a'(for method 3) WARNING - very slow!!
-start <String> sets the start String for the password (for brute force)
-w writes a new keystore with same password than the key
-h prints helpscreen
example for brute-force attack
java -jar AndroidKeystoreBrute_v1.05.jar -m 1 -k <...keystore> -start AAAAAA
example for dictionary attack
java -jar AndroidKeystoreBrute_v1.05.jar -m 2 -k "C:\\mykeystore.keystore" -d "wordlist.txt"
example for smart wordlist attack (recommend)
java -jar AndroidKeystoreBrute_v1.05.jar -m 3 -k "C:\\mykeystore.keystore" -d "wordlist.txt"
If there are any spaces in path or filenames, you have to use quotes for the path!!
If you want to work on your pc while this is running, just decrease the priority of java.exe (dont't know how to do it in Linux etc..)
If you have to interrupt the brute force you can restart it with adding -start "LASTPWD"
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
找回签名密码.zip (4个子文件)
新建文件夹
android-keystore-password-recover.txt 4KB
AndroidKeystoreBrute_v1.05.jar 25KB
help.txt 785B
passlib.txt 36B
共 4 条
- 1
资源评论
- 世界和平wanghan2018-11-13厉害了,开始看到它在尝试各种组合,一位没啥希望了,结果一分多钟出来了...
- 飞絮天涯2018-07-23确实好用,很快就确定是哪个密码了
七月雨
- 粉丝: 28
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功