]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhfmfu.h
FIX: removed printBits reference.
[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 int CmdHF14AMfucSetPwd(const char *Cmd);
13 int CmdHF14AMfucSetUid(const char *Cmd);
14 int CmdHF14AMfuGenDiverseKeys(const char *Cmd);
15
16 //general stuff
17 int CmdHF14AMfUDump(const char *Cmd);
18 int CmdHF14AMfUInfo(const char *Cmd);
19 int CmdHF14AMfUeLoad(const char *Cmd);
20 int CmdHF14AMfUSim(const char *Cmd);
21
22 uint32_t GetHF14AMfU_Type(void);
23 int ul_print_type(uint32_t tagtype, uint8_t spacer);
24 void ul_switch_off_field(void);
25
26 int usage_hf_mfu_info(void);
27 int usage_hf_mfu_dump(void);
28 int usage_hf_mfu_rdbl(void);
29 int usage_hf_mfu_wrbl(void);
30 int usage_hf_mfu_eload(void);
31 int usage_hf_mfu_sim(void);
32 int usage_hf_mfu_ucauth(void);
33 int usage_hf_mfu_ucsetpwd(void);
34 int usage_hf_mfu_ucsetuid(void);
35 int usage_hf_mfu_gendiverse(void);
36
37 int CmdHFMFUltra(const char *Cmd);
38
39 uint32_t ul_ev1_pwdgenA(uint8_t* uid);
40
41 typedef enum TAGTYPE_UL {
42 UNKNOWN = 0x000000,
43 UL = 0x000001,
44 UL_C = 0x000002,
45 UL_EV1_48 = 0x000004,
46 UL_EV1_128 = 0x000008,
47 NTAG = 0x000010,
48 NTAG_203 = 0x000020,
49 NTAG_210 = 0x000040,
50 NTAG_212 = 0x000080,
51 NTAG_213 = 0x000100,
52 NTAG_215 = 0x000200,
53 NTAG_216 = 0x000400,
54 MY_D = 0x000800,
55 MY_D_NFC = 0x001000,
56 MY_D_MOVE = 0x002000,
57 MY_D_MOVE_NFC = 0x004000,
58 MY_D_MOVE_LEAN= 0x008000,
59 NTAG_I2C_1K = 0x010000,
60 NTAG_I2C_2K = 0x020000,
61 FUDAN_UL = 0x040000,
62 MAGIC = 0x080000,
63 UL_MAGIC = UL | MAGIC,
64 UL_C_MAGIC = UL_C | MAGIC,
65 UL_ERROR = 0xFFFFFF,
66 } TagTypeUL_t;
67
68 #endif
Impressum, Datenschutz