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