mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
hf mfu wrbl: Extend help text
and do style pass
This commit is contained in:
parent
f1146d360f
commit
19f5639107
1 changed files with 2 additions and 4 deletions
|
@ -123,7 +123,7 @@ static int usage_hf_mfu_wrbl(void) {
|
|||
PrintAndLogEx(NORMAL, "Usage: hf mfu wrbl b <block number> d <data> k <key> l\n");
|
||||
PrintAndLogEx(NORMAL, "Options:");
|
||||
PrintAndLogEx(NORMAL, " b <no> : block to write");
|
||||
PrintAndLogEx(NORMAL, " d <data> : block data - (8 hex symbols)");
|
||||
PrintAndLogEx(NORMAL, " d <data> : block data - (8 or 32 hex symbols, 32 hex symbols will do a compatibility write)");
|
||||
PrintAndLogEx(NORMAL, " k <key> : (optional) key for authentication [UL-C 16bytes, EV1/NTAG 4bytes]");
|
||||
PrintAndLogEx(NORMAL, " l : (optional) swap entered key's endianness");
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
|
@ -1580,9 +1580,7 @@ static int CmdHF14AMfUWrBl(const char *Cmd) {
|
|||
clearCommandBuffer();
|
||||
if (datalen == 16) {
|
||||
SendCommandMIX(CMD_HF_MIFAREU_WRITEBL_COMPAT, blockNo, keytype, 0, cmddata, datalen);
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
SendCommandMIX(CMD_HF_MIFAREU_WRITEBL, blockNo, keytype, 0, cmddata, datalen);
|
||||
}
|
||||
PacketResponseNG resp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue