]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhfmfu.h
806c27d343effe6035fa71bbc59c3c085d5b69a1
[proxmark3-svn] / client / cmdhfmfu.h
1 #include "cmdhfmf.h"
2 #include "cmdhf14a.h"
3
4 #ifndef CMDHFMFU_H__
5 #define CMDHFMFU_H__
6
7 //standard ultralight
8 int CmdHF14AMfUWrBl(const char *Cmd);
9 int CmdHF14AMfURdBl(const char *Cmd);
10
11 //Crypto Cards
12 int CmdHF14AMfUCRdBl(const char *Cmd);
13 int CmdHF14AMfUCRdCard(const char *Cmd);
14 int CmdHF14AMfucAuth(const char *Cmd);
15
16 uint8_t requestAuthentication( uint8_t *nonce);
17 int try3DesAuthentication( uint8_t *key, bool switch_off_field);
18
19 //general stuff
20 int CmdHF14AMfUDump(const char *Cmd);
21 int CmdHF14AMfUInfo(const char *Cmd);
22 uint16_t GetHF14AMfU_Type(void);
23
24 void rol (uint8_t *data, const size_t len);
25 int ul_print_type(uint16_t tagtype, uint8_t spacer);
26 void ul_switch_off_field(void);
27
28 int usage_hf_mfu_dump(void);
29 int usage_hf_mfu_info(void);
30
31 int CmdHFMFUltra(const char *Cmd);
32
33 typedef enum TAGTYPE_UL {
34 UNKNOWN = 0x0000,
35 UL = 0x0001,
36 UL_C = 0x0002,
37 UL_EV1_48 = 0x0004,
38 UL_EV1_128 = 0x0008,
39 NTAG = 0x0010,
40 NTAG_213 = 0x0020,
41 NTAG_215 = 0x0040,
42 NTAG_216 = 0x0080,
43 MY_D = 0x0100,
44 MY_D_NFC = 0x0200,
45 MY_D_MOVE = 0x0400,
46 MY_D_MOVE_NFC = 0x0800,
47 MAGIC = 0x1000,
48 UL_MAGIC = UL | MAGIC,
49 UL_C_MAGIC = UL_C | MAGIC,
50 UL_ERROR = 0xFFFF,
51 } TagTypeUL_t;
52
53 #endif
Impressum, Datenschutz