]>
Commit | Line | Data |
---|---|---|
1 | //-----------------------------------------------------------------------------\r | |
2 | // Copyright (C) 2011 Merlok\r | |
3 | //\r | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or,\r | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of\r | |
6 | // the license.\r | |
7 | //-----------------------------------------------------------------------------\r | |
8 | // High frequency MIFARE commands\r | |
9 | //-----------------------------------------------------------------------------\r | |
10 | \r | |
11 | #ifndef CMDHFMF_H__\r | |
12 | #define CMDHFMF_H__\r | |
13 | \r | |
14 | #include <stdio.h>\r | |
15 | #include <stdlib.h>\r | |
16 | #include <string.h>\r | |
17 | #include <ctype.h>\r | |
18 | #include "proxmark3.h"\r | |
19 | #include "iso14443crc.h"\r | |
20 | #include "data.h"\r | |
21 | #include "ui.h"\r | |
22 | #include "cmdparser.h"\r | |
23 | #include "common.h"\r | |
24 | #include "util.h"\r | |
25 | //#include "mifarehost.h"\r | |
26 | #include "mifare.h" // nonces_t struct\r | |
27 | #include "cmdhfmfhard.h"\r | |
28 | #include "nonce2key/nonce2key.h"\r | |
29 | \r | |
30 | int CmdHFMF(const char *Cmd);\r | |
31 | ||
32 | int CmdHF14AMfDbg(const char* cmd); | |
33 | int CmdHF14AMfRdBl(const char* cmd); | |
34 | int CmdHF14AMfURdBl(const char* cmd); | |
35 | int CmdHF14AMfRdSc(const char* cmd); | |
36 | int CmdHF14SMfURdCard(const char* cmd); | |
37 | int CmdHF14AMfDump(const char* cmd); | |
38 | int CmdHF14AMfRestore(const char* cmd); | |
39 | int CmdHF14AMfWrBl(const char* cmd); | |
40 | int CmdHF14AMfUWrBl(const char* cmd); | |
41 | int CmdHF14AMfChk(const char* cmd); | |
42 | int CmdHF14AMifare(const char* cmd); | |
43 | int CmdHF14AMfNested(const char* cmd); | |
44 | int CmdHF14AMfNestedHard(const char *Cmd);\r | |
45 | int CmdHF14AMfSniff(const char* cmd);\r | |
46 | int CmdHF14AMf1kSim(const char* cmd);\r | |
47 | int CmdHF14AMfEClear(const char* cmd);\r | |
48 | int CmdHF14AMfEGet(const char* cmd);\r | |
49 | int CmdHF14AMfESet(const char* cmd);\r | |
50 | int CmdHF14AMfELoad(const char* cmd);\r | |
51 | int CmdHF14AMfESave(const char* cmd);\r | |
52 | int CmdHF14AMfECFill(const char* cmd);\r | |
53 | int CmdHF14AMfEKeyPrn(const char* cmd);\r | |
54 | int CmdHF14AMfCSetUID(const char* cmd);\r | |
55 | int CmdHF14AMfCSetBlk(const char* cmd);\r | |
56 | int CmdHF14AMfCGetBlk(const char* cmd);\r | |
57 | int CmdHF14AMfCGetSc(const char* cmd);\r | |
58 | int CmdHF14AMfCLoad(const char* cmd);\r | |
59 | int CmdHF14AMfCSave(const char* cmd);\r | |
60 | int CmdHf14MfDecryptBytes(const char *Cmd);\r | |
61 | \r | |
62 | void readerAttack(nonces_t data[], bool setEmulatorMem);\r | |
63 | void printKeyTable( uint8_t sectorscnt, sector *e_sector );\r | |
64 | #endif\r |