]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdhfmfu.h
ADD: Print the key for ULEV1/NTAG authentication if sent in cmdhf.c "HF LIST 14A"
[proxmark3-svn] / client / cmdhfmfu.h
... / ...
CommitLineData
1#include "cmdhfmf.h"
2#include "cmdhf14a.h"
3
4#ifndef CMDHFMFU_H__
5#define CMDHFMFU_H__
6
7//standard ultralight
8int CmdHF14AMfUWrBl(const char *Cmd);
9int CmdHF14AMfURdBl(const char *Cmd);
10
11//Crypto Cards
12int CmdHF14AMfUCRdBl(const char *Cmd);
13int CmdHF14AMfUCRdCard(const char *Cmd);
14int CmdHF14AMfucAuth(const char *Cmd);
15
16uint8_t requestAuthentication(uint8_t *nonce);
17int try3DesAuthentication(uint8_t *key);
18
19//general stuff
20int CmdHF14AMfUInfo(const char *Cmd);
21int CmdHF14AMfUDump(const char *Cmd);
22uint16_t GetHF14AMfU_Type(void);
23
24void rol (uint8_t *data, const size_t len);
25int ul_print_type(uint16_t tagtype, uint8_t spacer);
26void ul_switch_off_field(void);
27
28int usage_hf_mfu_info(void);
29int usage_hf_mfu_dump(void);
30
31int CmdHFMFUltra(const char *Cmd);
32
33typedef 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