mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Add --shallow
option to hf iclass
reader commands to do shallow (ASK) reader modulation instead of OOK.
This commit is contained in:
parent
53808f2c7f
commit
4180635218
10 changed files with 117 additions and 63 deletions
|
@ -32,6 +32,7 @@
|
|||
//#define FLAG_ICLASS_READER_ONLY_ONCE 0x04
|
||||
#define FLAG_ICLASS_READER_CREDITKEY 0x08
|
||||
#define FLAG_ICLASS_READER_AIA 0x10
|
||||
#define FLAG_ICLASS_READER_SHALLOW_MOD 0x20
|
||||
|
||||
// iCLASS reader status flags
|
||||
#define FLAG_ICLASS_NULL 0x00
|
||||
|
@ -60,6 +61,7 @@ typedef struct {
|
|||
bool use_replay;
|
||||
bool send_reply;
|
||||
bool do_auth;
|
||||
bool shallow_mod;
|
||||
uint8_t blockno;
|
||||
} PACKED iclass_auth_req_t;
|
||||
|
||||
|
@ -103,6 +105,7 @@ typedef struct iclass_premac {
|
|||
|
||||
typedef struct {
|
||||
bool use_credit_key;
|
||||
bool shallow_mod;
|
||||
uint8_t count;
|
||||
iclass_premac_t items[];
|
||||
} PACKED iclass_chk_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue