]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmfu.h
FIX: Coverity scans, uninitialized variables,
[proxmark3-svn] / client / cmdhfmfu.h
CommitLineData
f38a1528 1#include "cmdhfmf.h"
99a71418 2#include "cmdhf14a.h"
e3ab50ca 3
0ec548dc 4#ifndef CMDHFMFU_H__
5#define CMDHFMFU_H__
6
f38a1528 7int CmdHF14AMfUWrBl(const char *Cmd);
8int CmdHF14AMfURdBl(const char *Cmd);
99a71418 9
f38a1528 10//Crypto Cards
f38a1528 11int CmdHF14AMfucAuth(const char *Cmd);
2b1f4228 12int CmdHF14AMfucSetPwd(const char *Cmd);
13int CmdHF14AMfucSetUid(const char *Cmd);
14int CmdHF14AMfuGenDiverseKeys(const char *Cmd);
f38a1528 15
16//general stuff
99a71418 17int CmdHF14AMfUDump(const char *Cmd);
e7e95088 18int CmdHF14AMfUInfo(const char *Cmd);
2b1f4228 19int CmdHF14AMfUeLoad(const char *Cmd);
20int CmdHF14AMfUSim(const char *Cmd);
24344f28 21
fff69a1e 22uint32_t GetHF14AMfU_Type(void);
1fa96198 23int ul_print_type(uint32_t tagtype, uint8_t spacer);
98cdd568 24void ul_switch_off_field(void);
25
e7e95088 26int usage_hf_mfu_info(void);
2b1f4228 27int usage_hf_mfu_dump(void);
fff69a1e 28int usage_hf_mfu_rdbl(void);
29int usage_hf_mfu_wrbl(void);
24344f28 30int usage_hf_mfu_eload(void);
2b1f4228 31int usage_hf_mfu_sim(void);
32int usage_hf_mfu_ucauth(void);
33int usage_hf_mfu_ucsetpwd(void);
34int usage_hf_mfu_ucsetuid(void);
dd79e03a 35int usage_hf_mfu_gendiverse(void);
a8be77af 36
f38a1528 37int CmdHFMFUltra(const char *Cmd);
98cdd568 38
9984b173 39uint32_t ul_ev1_pwdgenA(uint8_t* uid);
dd79e03a 40uint32_t ul_ev1_pwdgenA(uint8_t* uid);
41uint32_t ul_ev1_pwdgenC(uint8_t* uid);
9984b173 42
98cdd568 43typedef enum TAGTYPE_UL {
05f7accd 44 UNKNOWN = 0x000000,
45 UL = 0x000001,
46 UL_C = 0x000002,
47 UL_EV1_48 = 0x000004,
48 UL_EV1_128 = 0x000008,
49 NTAG = 0x000010,
c7442b76 50 NTAG_203 = 0x000020,
51 NTAG_210 = 0x000040,
52 NTAG_212 = 0x000080,
05f7accd 53 NTAG_213 = 0x000100,
54 NTAG_215 = 0x000200,
55 NTAG_216 = 0x000400,
56 MY_D = 0x000800,
57 MY_D_NFC = 0x001000,
58 MY_D_MOVE = 0x002000,
59 MY_D_MOVE_NFC = 0x004000,
1c6e7f03 60 MY_D_MOVE_LEAN= 0x008000,
61 NTAG_I2C_1K = 0x010000,
62 NTAG_I2C_2K = 0x020000,
22e24700 63 FUDAN_UL = 0x040000,
64 MAGIC = 0x080000,
98cdd568 65 UL_MAGIC = UL | MAGIC,
66 UL_C_MAGIC = UL_C | MAGIC,
1fa96198 67 UL_ERROR = 0xFFFFFF,
98cdd568 68} TagTypeUL_t;
69
0ec548dc 70#endif
Impressum, Datenschutz