diff --git a/README.md b/README.md index 8d72189..d909543 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/miLazyCracker.sh b/miLazyCracker.sh index 175a313..24b96d7 100755 --- a/miLazyCracker.sh +++ b/miLazyCracker.sh @@ -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]}