Open ld21 opened 2 years ago
I had the same issue. I am using a 320 byte card and authentication failed for blocks 4, 8, 12 and 16. This problem came out after I have upgraded from Ubuntu 20.04 to 22.04 LTS and using the latest version of mfoc-hardnested. Removing libnfc-bin 1.8.0 and installing from source libnfc-bin 1.7.1 did the trick for me.
I tried it with libnfc 1.7.1 – but that didn't solve the issue. Any other ideas?
Compile and use the last trunk version, the last release version is seriously broken
Il dom 16 lug 2023, 12:48 Daniel @.***> ha scritto:
I tried it with libnfc 1.7.1 – but that didn't solve the issue. Any other ideas?
— Reply to this email directly, view it on GitHub https://github.com/nfc-tools/mfoc-hardnested/issues/15#issuecomment-1637050836, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPVKHDA4D4KXVDQ2KGDB3LXQPBGXANCNFSM54ZVO2YA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have recompiled libnfc 1.7.1 using Ludo1598's post https://github.com/nfc-tools/libnfc/issues/684#issuecomment-1634573967. Gelotus, I don't unterstand what you suggest: do you mean I should compile from the latest version of libnfc as in https://github.com/nfc-tools/libnfc? Thanks!
1.8.0 release version have a broken nfc-mfclassic utility, so you have to use the trunk version (master, current, the version that is actually on github) compile and install
Il dom 16 lug 2023, 13:03 Daniel @.***> ha scritto:
I have recompiled libnfc 1.7.1 using Ludo1598's post https://github.com/nfc-tools/libnfc/issues/684#issuecomment-1634573967 http://url. Gelotus, I don't unterstand what you suggest: do you mean I should compile from the latest version of libnfc as in https://github.com/nfc-tools/libnfc http://url? Thanks!
— Reply to this email directly, view it on GitHub https://github.com/nfc-tools/mfoc-hardnested/issues/15#issuecomment-1637053672, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPVKHC54UVQJ2G76NZQDXTXQPDA3ANCNFSM54ZVO2YA . You are receiving this because you commented.Message ID: @.***>
Hi everyone
I successfully extracted the contents of a MIFARE classic card using mfoc-hardnested using
mfoc-hardnested -f keys.txt -O extractedcard.mfd
over an USB Adafruit PN532 Breakout Board:However, when trying to write the dump back to the card using
nfc-mfclassic w a extractedcard.mfd extractedcard.mfd
, the process fails withand the card remains unaltered. I'm using a fresh Kali linux and an uptodate libnfc (1.8.0).
Am I correct using
nfc-mfclassic
to write the dump back or should I use another program (since it identifies as a MIFARE Plus)?Does anyone have an idea what the problem might be? Thanks!