Improve 'Magic' Mifare tags generation detection & hf mf c* commands magic 4k compati...
[proxmark3-svn] / client / mifarehost.h
index c564444285fba1a8a76990c861a7e7616aecf42c..7f9a2b45a785984e0cd5d5b58c68b3a37c789969 100644 (file)
 #include "data.h"\r
 \r
 // mfCSetBlock work flags\r
-#define CSETBLOCK_UID                                  0x01\r
-#define CSETBLOCK_WUPC                                 0x02\r
-#define CSETBLOCK_HALT                                 0x04\r
+#define CSETBLOCK_UID                          0x01\r
+#define CSETBLOCK_WUPC                         0x02\r
+#define CSETBLOCK_HALT                         0x04\r
 #define CSETBLOCK_INIT_FIELD                   0x08\r
 #define CSETBLOCK_RESET_FIELD                  0x10\r
 #define CSETBLOCK_SINGLE_OPER                  0x1F\r
+#define CSETBLOCK_MAGIC_1B                     0x40\r
 \r
 extern char logHexFileName[FILE_PATH_SIZE];\r
 \r
@@ -46,4 +47,6 @@ extern int loadTraceCard(uint8_t *tuid);
 extern int saveTraceCard(void);\r
 extern int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t *data, int len);\r
 \r
+extern int mfCIdentify();\r
+\r
 #endif\r
Impressum, Datenschutz