nfc-tools / mfcuk

MiFare Classic Universal toolKit (MFCUK)
GNU General Public License v2.0
971 stars 228 forks source link

Recovery stops or "Bus error" with -v 3 key #46

Open Artaud1 opened 7 years ago

Artaud1 commented 7 years ago

I tried to use mfcuk-0.3.7, mfcuk-0.3.8 (different revisions, including r-65), compiled with various versions of libnfc (starting from 1.5.1 to current one) with acr122u reader on OSX 10.6.3. Compilation/installation works fine (few warnings though) but neither of these combinations (mfcuk+libnfc) seems to even start attack. When i launch mfcuk with -v 3 option i get bus error: `artaud$ sudo /Users/artaud/nfc/prefix/bin/mfcuk -C -R -1 -v 3 mfcuk - 0.3.8 Mifare Classic DarkSide Key Recovery Tool - 0.3 by Andrei Costin, zveriu@gmail.com, http://andreicostin.com

WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_skgt.mfd' WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_ratb.mfd' WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_oyster.mfd' Bus error Without -v option attack never starts too, i get only this: mfcuk - 0.3.8 Mifare Classic DarkSide Key Recovery Tool - 0.3 by Andrei Costin, zveriu@gmail.com, http://andreicostin.com

WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_skgt.mfd' WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_ratb.mfd' WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_oyster.mfd'

INFO: Connected to NFC reader: ACS / ACR122U PICC Interface

VERIFY: Key A sectors: 0 1 2 3 4 5 6 7 8 9 a b c d e f Key B sectors: 0 1 2 3 4 5 6 7 8 9 a b c d e f

RECOVER: 0 1 2 3 4 5 6 7 8 9 a b c d e f artaud$ ` Which, if i get it right, means that the execution of mfcuk is stoped after a second after start. Adding "-s 250 -S 250" causes bus error too, starting/killing pcscd doesn't affect this issue. Similar issue (#17) was already desripted here: https://github.com/nfc-tools/mfcuk/issues/17 on OSX too.