Bug: Mifare 0.3k tag has 5 sectors with 20 blocks = 100 bytes. Thats too small for 320 bytes. Edited the size calculation of the target file for the dump to support Mifare 0.3K tags. Dump file will be sized as follows: 16 bytes / block * number of blocks.
MFOC is an open source implementation of "offline nested" attack by Nethemba.
This program allow to recover authentication keys from MIFARE Classic card.
Please note MFOC is able to recover keys from target only if it have a known key: default one (hardcoded in MFOC) or custom one (user provided using command line).
Usage
Put one MIFARE Classic tag that you want keys recovering; Lauching mfoc, you will need to pass options, see
mfoc -h
Description
Languages
C
97.4%
Roff
1.2%
M4
0.8%
Makefile
0.6%