Flipped knownKey (#1)

* Update README.md

* Fixed knownKey processing (it was flipped)
This commit is contained in:
Julius Putra Tanu Setiaji
2018-02-18 01:13:17 +01:00
committed by Romuald Conty
parent 137680aee9
commit 3922b084d1
2 changed files with 14 additions and 2 deletions
+11
View File
@@ -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
View File
@@ -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]}