mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Improved magic detection
Magic detection no longer stops when a single type is found as cards may support multiple types of magic, so all detected types will be reported now. GDM/USCUID chips are now detected when GDM magic auth is disabled but magic WUP (40 or 20) is enabled. Gen2/CUID/DirectWrite is now detected when default keys and ACLs are used by attempting to write to block 0 but aborting before actually completing the write.
This commit is contained in:
parent
32b846dbea
commit
8f577ad963
4 changed files with 173 additions and 121 deletions
|
@ -191,6 +191,8 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
|||
#define MIFARE_CMD_RESTORE 0xC2
|
||||
#define MIFARE_CMD_TRANSFER 0xB0
|
||||
|
||||
#define MIFARE_MAGIC_GDM_WUPC1 0x20
|
||||
#define MIFARE_MAGIC_GDM_WUPC2 0x23
|
||||
#define MIFARE_MAGIC_GDM_AUTH_KEY 0x80
|
||||
#define MIFARE_MAGIC_GDM_READBLOCK 0x38
|
||||
#define MIFARE_MAGIC_GDM_WRITEBLOCK 0xA8
|
||||
|
@ -264,8 +266,10 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
|||
#define MAGIC_NTAG21X 8
|
||||
#define MAGIC_GEN_3 9
|
||||
#define MAGIC_GEN_4GTU 10
|
||||
#define MAGIC_GEN_4GDM 11
|
||||
#define MAGIC_GDM_AUTH 11
|
||||
#define MAGIC_QL88 12
|
||||
#define MAGIC_GDM_WUP_20 13
|
||||
#define MAGIC_GDM_WUP_40 14
|
||||
|
||||
|
||||
// Commands for configuration of Gen4 GTU cards.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue