nfc-mfclassic: update help & man page
This commit is contained in:
parent
d47623319d
commit
7a30e35496
2 changed files with 19 additions and 5 deletions
|
@ -3,10 +3,13 @@
|
||||||
nfc-mfclassic \- MIFARE Classic command line tool
|
nfc-mfclassic \- MIFARE Classic command line tool
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B nfc-mfclassic
|
.B nfc-mfclassic
|
||||||
.RI \fR\fBr\fR|\fR\fBR\fR|\fBw\fR\fR|\fBW\fR
|
.RI \fR\fBf\fR|\fR\fBr\fR|\fR\fBR\fR|\fBw\fR\fR|\fBW\fR
|
||||||
.RI \fR\fBa\fR|\fR\fBA\fR|\fBb\fR\fR|\fBB\fR
|
.RI \fR\fBa\fR|\fR\fBA\fR|\fBb\fR\fR|\fBB\fR
|
||||||
.IR DUMP
|
.IR DUMP
|
||||||
.IR [KEYS]
|
.RI [
|
||||||
|
.IR KEYS
|
||||||
|
.RI [\fR\fBf\fR]
|
||||||
|
.RI ]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B nfc-mfclassic
|
.B nfc-mfclassic
|
||||||
|
@ -27,6 +30,10 @@ 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
|
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!
|
of the rest of the memory, so please read the tag documentation before experimenting too much!
|
||||||
|
|
||||||
|
The
|
||||||
|
.B f
|
||||||
|
option to format the card will reset all keys to FFFFFFFFFFFF, all data to 00 and all ACLs to default.
|
||||||
|
|
||||||
The
|
The
|
||||||
.B W
|
.B W
|
||||||
option allows writing of special MIFARE cards that can be 'unlocked' to allow block 0
|
option allows writing of special MIFARE cards that can be 'unlocked' to allow block 0
|
||||||
|
@ -57,8 +64,10 @@ options only work on special versions of MIFARE 1K cards (Chinese clones).
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BR r " | " R " | " w " | " W
|
.BR f " | " r " | " R " | " w " | " W
|
||||||
Perform read from (
|
Perform format (
|
||||||
|
.B f
|
||||||
|
) or read from (
|
||||||
.B r
|
.B r
|
||||||
) or unlocked read from (
|
) or unlocked read from (
|
||||||
.B R
|
.B R
|
||||||
|
@ -86,6 +95,11 @@ MiFare Dump (MFD) used to write (card to MFD) or (MFD to card)
|
||||||
.TP
|
.TP
|
||||||
.IR KEYS
|
.IR KEYS
|
||||||
MiFare Dump (MFD) that contains the keys (optional). Data part of the dump is ignored.
|
MiFare Dump (MFD) that contains the keys (optional). Data part of the dump is ignored.
|
||||||
|
.TP
|
||||||
|
.B f
|
||||||
|
Force using the keyfile
|
||||||
|
.IR KEYS
|
||||||
|
even if UID does not match (optional).
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
Please report any bugs on the
|
Please report any bugs on the
|
||||||
|
|
|
@ -476,7 +476,7 @@ static void
|
||||||
print_usage(const char *pcProgramName)
|
print_usage(const char *pcProgramName)
|
||||||
{
|
{
|
||||||
printf("Usage: ");
|
printf("Usage: ");
|
||||||
printf("%s r|R|w|W a|b <dump.mfd> [<keys.mfd> [f]]\n", pcProgramName);
|
printf("%s f|r|R|w|W a|b <dump.mfd> [<keys.mfd> [f]]\n", pcProgramName);
|
||||||
printf(" f|r|R|w|W - Perform format (f) or read from (r) or unlocked read from (R) or write to (w) or unlocked write to (W) card\n");
|
printf(" f|r|R|w|W - Perform format (f) or read from (r) or unlocked read from (R) or write to (w) or unlocked write to (W) card\n");
|
||||||
printf(" *** format will reset all keys to FFFFFFFFFFFF and all data to 00 and all ACLs to default\n");
|
printf(" *** format will reset all keys to FFFFFFFFFFFF and all data to 00 and all ACLs to default\n");
|
||||||
printf(" *** unlocked read does not require authentication and will reveal A and B keys\n");
|
printf(" *** unlocked read does not require authentication and will reveal A and B keys\n");
|
||||||
|
|
Loading…
Reference in a new issue