]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmfu.h
HF Search - refactoring cmds to work with it
[proxmark3-svn] / client / cmdhfmfu.h
CommitLineData
81740aa5 1#include "cmdhfmf.h"
2#include "cmdhf14a.h"
3
f168b263 4#ifndef CMDHFMFU_H__
5#define CMDHFMFU_H__
6
81740aa5 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
16//general stuff
17int CmdHF14AMfUDump(const char *Cmd);
18void rol (uint8_t *data, const size_t len);
19
f168b263 20uint8_t requestAuthentication( uint8_t *nonce);
21int try3DesAuthentication( uint8_t *key);
75377d29 22uint16_t GetHF14AMfU_Type(void);
8ceb6b03 23int ul_print_type(uint16_t tagtype, uint8_t spacer);
92690507 24
25int usage_hf_mfu_dump(void);
81740aa5 26
27int CmdHFMFUltra(const char *Cmd);
28int CmdHF14AMfUInfo(const char *Cmd);
8ceb6b03 29
30typedef 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
f168b263 50#endif
Impressum, Datenschutz