]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhfmfu.h
hf search - prelim - re-use hf mfu GetTagType...
[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 //general stuff
17 int CmdHF14AMfUDump(const char *Cmd);
18 void rol (uint8_t *data, const size_t len);
19
20 uint8_t requestAuthentication( uint8_t *nonce);
21 int try3DesAuthentication( uint8_t *key);
22 uint16_t GetHF14AMfU_Type(void);
23 int ul_print_type(uint16_t tagtype, uint8_t spacer);
24
25 int usage_hf_mfu_dump(void);
26
27 int CmdHFMFUltra(const char *Cmd);
28 int CmdHF14AMfUInfo(const char *Cmd);
29
30 typedef enum TAGTYPE_UL {
31 UNKNOWN = 0x0000,
32 UL = 0x0001,
33 UL_C = 0x0002,
34 UL_EV1_48 = 0x0004,
35 UL_EV1_128 = 0x0008,
36 NTAG = 0x0010,
37 NTAG_213 = 0x0020,
38 NTAG_215 = 0x0040,
39 NTAG_216 = 0x0080,
40 MY_D = 0x0100,
41 MY_D_NFC = 0x0200,
42 MY_D_MOVE = 0x0400,
43 MY_D_MOVE_NFC = 0x0800,
44 MAGIC = 0x1000,
45 UL_MAGIC = UL | MAGIC,
46 UL_C_MAGIC = UL_C | MAGIC,
47 UL_ERROR = 0xFFFF,
48 } TagTypeUL_t;
49
50 #endif
Impressum, Datenschutz