85 lines
2.4 KiB
Groff
85 lines
2.4 KiB
Groff
.TH nfc-mfclassic 1 "Nov 02, 2009" "libnfc" "NFC Utilities"
|
|
.SH NAME
|
|
nfc-mfclassic \- MIFARE Classic command line tool
|
|
.SH SYNOPSIS
|
|
.B nfc-mfclassic
|
|
.RI \fR\fBr\fR|\fR\fBR\fR|\fBw\fR\fR|\fBW\fR
|
|
.RI \fR\fBa\fR|\fBb\fR
|
|
.IR DUMP
|
|
.IR [KEYS]
|
|
|
|
.SH DESCRIPTION
|
|
.B nfc-mfclassic
|
|
is a MIFARE Classic tool that allow to read or write
|
|
.IR DUMP
|
|
file using Mifare keys provided in
|
|
.IR KEYS
|
|
file.
|
|
|
|
MIFARE Classic tag is one of the most widely used RFID tags.
|
|
|
|
The firmware in the NFC controller supports authenticating, reading and writing
|
|
to/from Mifare Classic tags. This tool demonstrates the speed of this library
|
|
and its ease-of-use. It's possible to read and write the complete content of a
|
|
Mifare Classic 4KB tag within 1 second. It uses a binary Mifare Dump file (MFD)
|
|
to store the keys and data for all sectors.
|
|
|
|
Be cautious that some parts of a Mifare Classic memory are used for r/w access
|
|
of the rest of the memory, so please read the tag documentation before experimenting too much!
|
|
|
|
The 'W' option allows writing of special Mifare cards that can be 'unlocked' to allow block 0
|
|
to be overwritten. This includes UID and manufacturer data. Take care when amending UIDs to set
|
|
the correct BCC (UID checksum). Currently only 4 byte UIDs are supported.
|
|
|
|
Similarly, the 'R' option allows an 'unlocked' read. This bypasses authentication and allows
|
|
reading of the Key A and Key B data regardless of ACLs.
|
|
|
|
*** Note that 'W' and 'R' options only work on special versions of Mifare 1K cards (Chinese clones).
|
|
|
|
.SH OPTIONS
|
|
.BR r " | " R " | " w " | " W
|
|
Perform read from (
|
|
.B r
|
|
) or unlocked read from (
|
|
.B R
|
|
) or write to (
|
|
.B w
|
|
) or unlocked write to (
|
|
.B W
|
|
) card.
|
|
.TP
|
|
.BR a " | " b
|
|
Use A or B Mifare keys.
|
|
.TP
|
|
.IR DUMP
|
|
MiFare Dump (MFD) used to write (card to MFD) or (MFD to card)
|
|
.TP
|
|
.IR KEYS
|
|
MiFare Dump (MFD) that contains the keys (optional). Data part of the dump is ignored.
|
|
|
|
.SH BUGS
|
|
Please report any bugs on the
|
|
.B libnfc
|
|
issue tracker at:
|
|
.br
|
|
.BR http://code.google.com/p/libnfc/issues
|
|
.SH LICENCE
|
|
.B libnfc
|
|
is licensed under the GNU Lesser General Public License (LGPL), version 3.
|
|
.br
|
|
.B libnfc-utils
|
|
and
|
|
.B libnfc-examples
|
|
are covered by the the BSD 2-Clause license.
|
|
|
|
.SH AUTHORS
|
|
Adam Laurie <adam@algroup.co.uk>,
|
|
.br
|
|
Roel Verdult <roel@libnfc.org>,
|
|
.br
|
|
Romain Tartière <romain@libnfc.org>,
|
|
.br
|
|
Romuald Conty <romuald@libnfc.org>.
|
|
.PP
|
|
This manual page was written by Romuald Conty <romuald@libnfc.org>.
|
|
It is licensed under the terms of the GNU GPL (version 2 or later).
|