mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
text
This commit is contained in:
+15
-5
@@ -424,16 +424,26 @@ static const char *getProductTypeStr(const uint8_t *versionhw) {
|
||||
|
||||
uint8_t product = versionhw[1];
|
||||
|
||||
if (product == 0x01)
|
||||
if (product == 0x01) {
|
||||
return "MIFARE DESFire native IC (physical card)";
|
||||
if (product == 0x08)
|
||||
}
|
||||
|
||||
if (product == 0x08) {
|
||||
return "MIFARE DESFire Light native IC (physical card)";
|
||||
if (product == 0x81 || product == 0x83)
|
||||
}
|
||||
|
||||
if (product == 0x81 || product == 0x83) {
|
||||
return "MIFARE DESFire implementation on microcontroller (physical card)";
|
||||
if (product == 0x91)
|
||||
}
|
||||
|
||||
if (product == 0x91) {
|
||||
return "MIFARE DESFire applet on Java card / secure element";
|
||||
if (product == 0xA1)
|
||||
}
|
||||
|
||||
if (product == 0xA1) {
|
||||
return "MIFARE DESFire HCE (MIFARE 2GO)";
|
||||
}
|
||||
|
||||
return "UNKNOWN PROD";
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef enum {
|
||||
DUOX,
|
||||
} nxp_cardtype_t;
|
||||
|
||||
typedef struct {
|
||||
typedef struct mfdes_info_res {
|
||||
uint8_t isOK;
|
||||
uint8_t uid[7];
|
||||
uint8_t uidlen;
|
||||
|
||||
Reference in New Issue
Block a user