CHG: enhanced the "hf mfu info" a lot. It can detect UL/UL-C/UL-EV1/NTAG213/NTAG215/NTAG216
and at present it can detect if a UL-C tag is magic (uid changeable) FOR UL it writes the first configuration pages 0-3. For UL_C it tests some default 3des keys, and lock / confg bytes at pages 42-43,44-47 For UL_EV1 / NTAG it collects the GETVERSION command and tries to read 3 counters., it also tries one default password of 0xFF,0xFF,0xFF,0xFF for the EV1 /NTAG authentication 0x1B. FOR UL_C_MAGIC, it tries to see if the gatherd nonces for authentication 0x1A is the same, which indicates on my tags that they are magic. There is the @marshmellow changes to "hf mfu dump" command. This commit needs testing, and is to be considered experimental.
This commit is contained in:
@@ -19,7 +19,7 @@ void rol (uint8_t *data, const size_t len);
|
||||
|
||||
uint8_t requestAuthentication( uint8_t *nonce);
|
||||
int try3DesAuthentication( uint8_t *key);
|
||||
uint8_t GetHF14AMfU_Type(void);
|
||||
uint16_t GetHF14AMfU_Type(void);
|
||||
|
||||
int usage_hf_mfu_dump(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user