mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
fixes
This commit is contained in:
parent
a2fcd47017
commit
ea249d7b17
4 changed files with 9 additions and 9 deletions
|
@ -626,7 +626,7 @@ void CIPURSEPrintFileAttrEx(uint8_t *attr, size_t len, bool isDGI) {
|
|||
}
|
||||
|
||||
void CIPURSEPrintFileAttr(uint8_t *attr, size_t len) {
|
||||
return CIPURSEPrintFileAttrEx(attr, len, false);
|
||||
CIPURSEPrintFileAttrEx(attr, len, false);
|
||||
}
|
||||
|
||||
void CIPURSEPrintFileUpdateAttr(uint8_t *attr, size_t len) {
|
||||
|
|
|
@ -4009,7 +4009,7 @@ static int CmdHF14AMfKeyBrute(const char *Cmd) {
|
|||
*/
|
||||
|
||||
void printKeyTable(size_t sectorscnt, sector_t *e_sector) {
|
||||
return printKeyTableEx(sectorscnt, e_sector, 0);
|
||||
printKeyTableEx(sectorscnt, e_sector, 0);
|
||||
}
|
||||
|
||||
void printKeyTableEx(size_t sectorscnt, sector_t *e_sector, uint8_t start_sector) {
|
||||
|
|
|
@ -807,9 +807,9 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
|||
iso14a_card_select_t card;
|
||||
res = SelectCard14443A_4(true, false, &card);
|
||||
if (res == PM3_SUCCESS) {
|
||||
static const char STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 };
|
||||
static const char JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 };
|
||||
static const char JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 };
|
||||
static const uint8_t STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 };
|
||||
static const uint8_t JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 };
|
||||
static const uint8_t JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 };
|
||||
|
||||
if (card.sak == 0x20) {
|
||||
|
||||
|
|
|
@ -166,13 +166,13 @@ static void ntag424_print_production_information(ntag424_production_information_
|
|||
}
|
||||
|
||||
static void ntag424_print_full_version_information(ntag424_full_version_information_t *version) {
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Hardware version information:"), fileno);
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Hardware version information:"));
|
||||
ntag424_print_version_information(&version->hardware);
|
||||
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Software version information:"), fileno);
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Software version information:"));
|
||||
ntag424_print_version_information(&version->software);
|
||||
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Production information:"), fileno);
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Production information:"));
|
||||
ntag424_print_production_information(&version->production);
|
||||
}
|
||||
|
||||
|
@ -927,7 +927,7 @@ static int CmdHF_ntag424_info(const char *Cmd) {
|
|||
DropField();
|
||||
|
||||
if (res == PM3_SUCCESS) {
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("NXP originality signature:"), fileno);
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("NXP originality signature:"));
|
||||
desfire_print_signature(version.production.uid, 7, signature, NXP_SIGNATURE_LENGTH);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue