mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-05 12:01:09 +08:00
hf mfu bug fixes, and help text fixes
This commit is contained in:
parent
1c429594a1
commit
efd193519c
1 changed files with 8 additions and 8 deletions
|
@ -600,7 +600,7 @@ uint32_t GetHF14AMfU_Type(void){
|
||||||
tagtype = UL;
|
tagtype = UL;
|
||||||
} else {
|
} else {
|
||||||
// read page 0x30 (should error if it is a ntag203)
|
// read page 0x30 (should error if it is a ntag203)
|
||||||
status = ul_read(30, data, sizeof(data));
|
status = ul_read(0x30, data, sizeof(data));
|
||||||
if ( status <= 1 ){
|
if ( status <= 1 ){
|
||||||
tagtype = NTAG_203;
|
tagtype = NTAG_203;
|
||||||
} else {
|
} else {
|
||||||
|
@ -740,11 +740,10 @@ int CmdHF14AMfUInfo(const char *Cmd){
|
||||||
uint8_t keySwap[16];
|
uint8_t keySwap[16];
|
||||||
memcpy(keySwap, SwapEndian64(key,16,8), 16);
|
memcpy(keySwap, SwapEndian64(key,16,8), 16);
|
||||||
ulc_print_3deskey(keySwap);
|
ulc_print_3deskey(keySwap);
|
||||||
break;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// reselect for future tests (ntag test)
|
return 1;
|
||||||
if (!ul_auth_select( &card, tagtype, hasAuthKey, authenticationkey, pack, sizeof(pack))) return -1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -950,8 +949,8 @@ int usage_hf_mfu_info(void)
|
||||||
PrintAndLog("It gathers information about the tag and tries to detect what kind it is.");
|
PrintAndLog("It gathers information about the tag and tries to detect what kind it is.");
|
||||||
PrintAndLog("Sometimes the tags are locked down, and you may need a key to be able to read the information");
|
PrintAndLog("Sometimes the tags are locked down, and you may need a key to be able to read the information");
|
||||||
PrintAndLog("The following tags can be identified:\n");
|
PrintAndLog("The following tags can be identified:\n");
|
||||||
PrintAndLog("Ultralight, Ultralight-C, Ultralight EV1");
|
PrintAndLog("Ultralight, Ultralight-C, Ultralight EV1, NTAG 203, NTAG 210,");
|
||||||
PrintAndLog("NTAG 213, NTAG 215, NTAG 216");
|
PrintAndLog("NTAG 212, NTAG 213, NTAG 215, NTAG 216, NTAG I2C 1K & 2K");
|
||||||
PrintAndLog("my-d, my-d NFC, my-d move, my-d move NFC\n");
|
PrintAndLog("my-d, my-d NFC, my-d move, my-d move NFC\n");
|
||||||
PrintAndLog("Usage: hf mfu info k <key>");
|
PrintAndLog("Usage: hf mfu info k <key>");
|
||||||
PrintAndLog(" Options : ");
|
PrintAndLog(" Options : ");
|
||||||
|
@ -965,6 +964,7 @@ int usage_hf_mfu_info(void)
|
||||||
int usage_hf_mfu_dump(void)
|
int usage_hf_mfu_dump(void)
|
||||||
{
|
{
|
||||||
PrintAndLog("Reads all pages from Ultralight, Ultralight-C, Ultralight EV1");
|
PrintAndLog("Reads all pages from Ultralight, Ultralight-C, Ultralight EV1");
|
||||||
|
PrintAndLog("NTAG 203, NTAG 210, NTAG 212, NTAG 213, NTAG 215, NTAG 216");
|
||||||
PrintAndLog("and saves binary dump into the file `filename.bin` or `cardUID.bin`");
|
PrintAndLog("and saves binary dump into the file `filename.bin` or `cardUID.bin`");
|
||||||
PrintAndLog("It autodetects card type.\n");
|
PrintAndLog("It autodetects card type.\n");
|
||||||
PrintAndLog("Usage: hf mfu dump l k <key> n <filename w/o .bin>");
|
PrintAndLog("Usage: hf mfu dump l k <key> n <filename w/o .bin>");
|
||||||
|
|
Loading…
Add table
Reference in a new issue