|
![]() |
|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Register | FAQ | Donate | Forum Rules | ★. iPhone Unlock .★ | -= JTAG BOOM =- | Search | Today's Posts | Mark Forums Read |
| GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| No Life Poster ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2004
Posts: 511
Member: 72951 Status: Offline Thanks: 105
Thanked 61 Times in 48 Posts
| Finding PIN from NAND dump using Python script I was hoping some clever programmer out there could assist me in finding a pin code from a NAND dump using a Python 3 script. I came across this blog Bypassing a locked HTC Wildfire S using the JTAG process « copgeek018 and I am somewhat a newbie. I have successfully made my dump but do not know how to execute the script. If you can help I would greatly appreciate it. BR |
|
| | #2 (permalink) |
| Moderator ![]() Join Date: Feb 2009
Posts: 728
Member: 961957 Status: Offline Sonork: Jabber: gecko@neko.im Thanks: 206
Thanked 664 Times in 201 Posts
| If you've got the NAND dump already, you've done the difficult part ![]() to recovr the pin- install python 3.2.3 with default settings. copy the RecoverAndroidPin.py & BruteForceAndroidPin.py to c:\Python32 . rename your NAND dump "dump.bin" and copy that to this folder as well, now open up cmd prompt and run the following commands Code: cd c:\python32 python.exe RecoverAndroidPin.py -l 5 dump.bin |
|
| | #3 (permalink) |
| No Life Poster ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2004
Posts: 511
Member: 72951 Status: Offline Thanks: 105
Thanked 61 Times in 48 Posts
| Hi Gecko UK. Firstly I just want to express my huge thanks for your assistance. Your instructions were dead on and easy. Okay now for my results. It wasn't quite what I thought the outcome would be but I am not discouraged as likely I did missed something and will try an correct it. I entered your command line and this is my screenshot. ![]() The strange thing is I could try using the brute force script but although I have the salt address I still need the hash address which I did not get. Is there something I missed along the way? Thanks again Gecko for your help. |
|
| | #6 (permalink) |
| Moderator ![]() Join Date: Feb 2009
Posts: 728
Member: 961957 Status: Offline Sonork: Jabber: gecko@neko.im Thanks: 206
Thanked 664 Times in 201 Posts
| you sure it's a pin not pattern? if it's pattern copy both Android_GestureFinder.py and GenerateAndroidGestureRainbowTable.py to c:\Python32 then run Code: cd c:\python32 python.exe GenerateAndroidGestureRainbowTable.py (wait some time for rainbow table to be generated) python.exe Android_GestureFinder.py dump.bin Code: cd c:\python32 python.exe BruteForceAndroidPin.py [HASH] [SALT] [MAX PIN LENGTH] |
|
| | #7 (permalink) |
| No Life Poster ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2004
Posts: 511
Member: 72951 Status: Offline Thanks: 105
Thanked 61 Times in 48 Posts
| Yes, I am pretty confident it's a PIN. When I turn on the phone it just ask for PIN no pattern. I did try your recommendation anyway and tried to recover a pattern unlock with your python commands but it came back with no find. Sorry to ask for more help with this but how to extract /data/system/password.key hash from my dumped file. Thanks Gecko |
|
| | #8 (permalink) | |
| Moderator ![]() Join Date: Feb 2009
Posts: 728
Member: 961957 Status: Offline Sonork: Jabber: gecko@neko.im Thanks: 206
Thanked 664 Times in 201 Posts
| Quote:
https://viaforensics.com/?fid=parseAFPhysical.py | |
|
| | #9 (permalink) |
| No Life Poster ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2004
Posts: 511
Member: 72951 Status: Offline Thanks: 105
Thanked 61 Times in 48 Posts
| Okay so I downloaded the parseafphysical.py script and copied it to C: Python32 folder. I ran the script exactly as you typed it but nothing happens. It just goes back to C:\Python32> I'm certain my dump is good (528MB) and can view in a hex editor. What did I do wrong? |
|
| | #10 (permalink) | ||
| No Life Poster ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2010 Location: Romania Age: 29
Posts: 525
Member: 1254271 Status: Offline Thanks: 43
Thanked 200 Times in 66 Posts
| Quote:
Quote:
| ||
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| thread | Thread Starter | Forum | Replies | Last Post |
| where to find a working program all they have some errors ?? | fondas | Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) | 2 | 12-12-2012 12:26 |
| Eeprom dump lost, help needed. | CAMILO | Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) | 6 | 11-29-2010 18:04 |
| Ringtones from the charts and new Links | GM | GSM Mobile Links | 0 | 09-26-1999 13:54 |
| FREECALL HACKED SIMS ON SALE FROM FREECELL! | FREECELLUK | Main Sales Section | 0 | 07-07-1999 23:22 |
| Copy from one 6110 to another | Leif Nielsen | Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) | 1 | 06-10-1999 22:36 |