mirror of
https://github.com/RfidResearchGroup/miLazyCracker.git
synced 2026-05-12 11:20:09 -07:00
Flipped knownKey (#1)
* Update README.md * Fixed knownKey processing (it was flipped)
This commit is contained in:
committed by
Romuald Conty
parent
137680aee9
commit
3922b084d1
@@ -13,6 +13,17 @@ cd mydumps
|
||||
miLazyCracker
|
||||
```
|
||||
|
||||
Possible issue:
|
||||
```bash
|
||||
error libnfc.driver.pn53x_usb Unable to set USB configuration (Device or resource busy)
|
||||
```
|
||||
Fix:
|
||||
```bash
|
||||
sudo modprobe -r pn533_usb
|
||||
```
|
||||
|
||||
|
||||
|
||||
This tool is comprised of work from:
|
||||
- Aram Verstegen (https://github.com/aczid/crypto1_bs)
|
||||
|
||||
|
||||
+3
-2
@@ -73,8 +73,9 @@ while [ $keepTrying -eq 1 ]; do
|
||||
#echo ${arr[2]}
|
||||
#echo ${arr[3]}
|
||||
#echo ${arr[4]}
|
||||
|
||||
knownKey=${arr[0]}
|
||||
|
||||
temp=($(echo ${arr[0]}|fold -w2))
|
||||
knownKey=${temp[5]}${temp[4]}${temp[3]}${temp[2]}${temp[1]}${temp[0]}
|
||||
knownSectorNum=${arr[1]}
|
||||
knownKeyLetter=${arr[2]}
|
||||
unknownSectorNum=${arr[3]}
|
||||
|
||||
Reference in New Issue
Block a user