mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Add hf iclass creditepurse command to allow crediting the epurse debit value.
This commit is contained in:
@@ -87,6 +87,12 @@ typedef struct {
|
||||
uint8_t mac[4];
|
||||
} PACKED iclass_writeblock_req_t;
|
||||
|
||||
// iCLASS write block request data structure
|
||||
typedef struct {
|
||||
iclass_auth_req_t req;
|
||||
uint8_t epurse[4];
|
||||
} PACKED iclass_credit_epurse_t;
|
||||
|
||||
// iCLASS dump data structure
|
||||
typedef struct {
|
||||
uint8_t blockno;
|
||||
|
||||
+2
-1
@@ -565,7 +565,7 @@ typedef struct {
|
||||
|
||||
#define CMD_HF_EPA_COLLECT_NONCE 0x038A
|
||||
#define CMD_HF_EPA_REPLAY 0x038B
|
||||
#define CMD_HF_EPA_PACE_SIMULATE 0x039C
|
||||
#define CMD_HF_EPA_PACE_SIMULATE 0x038C
|
||||
|
||||
#define CMD_HF_LEGIC_INFO 0x03BC
|
||||
#define CMD_HF_LEGIC_ESET 0x03BD
|
||||
@@ -581,6 +581,7 @@ typedef struct {
|
||||
#define CMD_HF_ICLASS_EML_MEMSET 0x0398
|
||||
#define CMD_HF_ICLASS_CHKKEYS 0x039A
|
||||
#define CMD_HF_ICLASS_RESTORE 0x039B
|
||||
#define CMD_HF_ICLASS_CREDIT_EPURSE 0x039C
|
||||
|
||||
// For ISO1092 / FeliCa
|
||||
#define CMD_HF_FELICA_SIMULATE 0x03A0
|
||||
|
||||
Reference in New Issue
Block a user