Implemented hf iclass sim -t 7

Implemented an iclass sim function that prevents simulated card responses after updating block 3.
Block 3 gets updated with the XOR key as if it was in personalization mode.
This commit is contained in:
Antiklesys 2025-06-07 23:12:21 +08:00
commit 80e1c7f0d4
4 changed files with 32 additions and 16 deletions

View file

@ -49,6 +49,7 @@
#define ICLASS_SIM_MODE_READER_ATTACK_KEYROLL 4
#define ICLASS_SIM_MODE_EXIT_AFTER_MAC 5 // note: device internal only
#define ICLASS_SIM_MODE_FULL_GLITCH 6
#define ICLASS_SIM_MODE_FULL_GLITCH_KEY 7
// iCLASS auth request data structure