]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhfmfu.h
FIX: @pwpiwi 's fixes for darkside / nested attack about the NACK/PRNG bugs.
[proxmark3-svn] / client / cmdhfmfu.h
1 #include "cmdhfmf.h"
2 #include "cmdhf14a.h"
3
4 #ifndef CMDHFMFU_H__
5 #define CMDHFMFU_H__
6
7 int CmdHF14AMfUWrBl(const char *Cmd);
8 int CmdHF14AMfURdBl(const char *Cmd);
9
10 //Crypto Cards
11 int CmdHF14AMfucAuth(const char *Cmd);
12
13 //general stuff
14 int CmdHF14AMfUDump(const char *Cmd);
15 int CmdHF14AMfUInfo(const char *Cmd);
16
17 int CmdHF14AMfuELoad(const char *Cmd);
18
19 uint32_t GetHF14AMfU_Type(void);
20 int ul_print_type(uint32_t tagtype, uint8_t spacer);
21 void ul_switch_off_field(void);
22
23 int usage_hf_mfu_dump(void);
24 int usage_hf_mfu_info(void);
25 int usage_hf_mfu_rdbl(void);
26 int usage_hf_mfu_wrbl(void);
27 int usage_hf_mfu_eload(void);
28
29 int CmdHFMFUltra(const char *Cmd);
30
31 typedef enum TAGTYPE_UL {
32 UNKNOWN = 0x000000,
33 UL = 0x000001,
34 UL_C = 0x000002,
35 UL_EV1_48 = 0x000004,
36 UL_EV1_128 = 0x000008,
37 NTAG = 0x000010,
38 NTAG_203 = 0x000020,
39 NTAG_210 = 0x000040,
40 NTAG_212 = 0x000080,
41 NTAG_213 = 0x000100,
42 NTAG_215 = 0x000200,
43 NTAG_216 = 0x000400,
44 MY_D = 0x000800,
45 MY_D_NFC = 0x001000,
46 MY_D_MOVE = 0x002000,
47 MY_D_MOVE_NFC = 0x004000,
48 MY_D_MOVE_LEAN= 0x008000,
49 NTAG_I2C_1K = 0x010000,
50 NTAG_I2C_2K = 0x020000,
51 FUDAN_UL = 0x040000,
52 MAGIC = 0x080000,
53 UL_MAGIC = UL | MAGIC,
54 UL_C_MAGIC = UL_C | MAGIC,
55 UL_ERROR = 0xFFFFFF,
56 } TagTypeUL_t;
57
58 #endif
Impressum, Datenschutz