nfc-tools / miLazyCracker

Mifare Classic Plus - Hardnested Attack Implementation for SCL3711 LibNFC USB reader
325 stars 62 forks source link

Calculated block number for MIFARE Classic 4k cards incorrect. #3

Closed asib closed 6 years ago

asib commented 6 years ago

MIFARE Classic 4k cards have a different memory structure to 1k cards:

This is just a fix so that the two block numbers calculated by the script are correct if the card is a 4k card.

See §2.2 of this paper for details.

doegox commented 6 years ago

thank you!