Add function to brute force partial key

This commit is contained in:
Adrian Teuscher committed 2023-01-27 19:37:40 +01:00
1 parent 08930766cb
commit 71389e0b17
7 files changed
+211 -6

No files matched your search

+3
View File
@@ -42,6 +42,9 @@ typedef struct {
// Used to write new key
uint8_t crypt_key[12];
// used for bruteforce the partial key
uint16_t start_key;
} em4x70_data_t;
#endif /* EM4X70_H__ */
+1
View File
@@ -484,6 +484,7 @@ typedef struct {
#define CMD_LF_EM4X70_AUTH 0x0263
#define CMD_LF_EM4X70_WRITEPIN 0x0264
#define CMD_LF_EM4X70_WRITEKEY 0x0265
#define CMD_LF_EM4X70_BRUTE 0x0266
// Sampling configuration for LF reader/sniffer
#define CMD_LF_SAMPLING_SET_CONFIG 0x021D
#define CMD_LF_FSK_SIMULATE 0x021E