]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmf.h
FIX: the HID-Flasher depends on libusb to be able to compile On OSX the 'include...
[proxmark3-svn] / client / cmdhfmf.h
CommitLineData
9ca155ba
M
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
8556b852 18#include "proxmark3.h"\r
19693bdc 19\r
e98572a1 20#include "iso14443crc.h"\r
9ca155ba 21#include "data.h"\r
9ca155ba
M
22#include "ui.h"\r
23#include "cmdparser.h"\r
e98572a1 24#include "common.h"\r
9ca155ba 25#include "util.h"\r
df007486 26//#include "mifarehost.h"\r
27#include "mifare.h" // nonces_t struct\r
28#include "cmdhfmfhard.h"\r
29#include "nonce2key/nonce2key.h"\r
9ca155ba
M
30\r
31int CmdHFMF(const char *Cmd);\r
dfdbfa07
MF
32\r
33int CmdHF14AMfDbg(const char* cmd);\r
34int CmdHF14AMfRdBl(const char* cmd);\r
35int CmdHF14AMfURdBl(const char* cmd);\r
36int CmdHF14AMfRdSc(const char* cmd);\r
37int CmdHF14SMfURdCard(const char* cmd);\r
38int CmdHF14AMfDump(const char* cmd);\r
39int CmdHF14AMfRestore(const char* cmd);\r
40int CmdHF14AMfWrBl(const char* cmd);\r
41int CmdHF14AMfUWrBl(const char* cmd);\r
42int CmdHF14AMfChk(const char* cmd);\r
43int CmdHF14AMifare(const char* cmd);\r
44int CmdHF14AMfNested(const char* cmd);\r
c188b1b9 45int CmdHF14AMfNestedHard(const char *Cmd);\r
e772353f 46int CmdHF14AMfSniff(const char* cmd);\r
47int CmdHF14AMf1kSim(const char* cmd);\r
d9ed4e19 48int CmdHF14AMfKeyBrute(const char *Cmd);\r
e772353f 49int CmdHF14AMfEClear(const char* cmd);\r
50int CmdHF14AMfEGet(const char* cmd);\r
51int CmdHF14AMfESet(const char* cmd);\r
52int CmdHF14AMfELoad(const char* cmd);\r
53int CmdHF14AMfESave(const char* cmd);\r
54int CmdHF14AMfECFill(const char* cmd);\r
55int CmdHF14AMfEKeyPrn(const char* cmd);\r
56int CmdHF14AMfCSetUID(const char* cmd);\r
57int CmdHF14AMfCSetBlk(const char* cmd);\r
58int CmdHF14AMfCGetBlk(const char* cmd);\r
59int CmdHF14AMfCGetSc(const char* cmd);\r
60int CmdHF14AMfCLoad(const char* cmd);\r
61int CmdHF14AMfCSave(const char* cmd);\r
2b1f4228 62int CmdHf14MfDecryptBytes(const char *Cmd);\r
63\r
ba39db37 64void readerAttack(nonces_t data[], bool setEmulatorMem, bool verbose);\r
0920f54c 65void printKeyTable( uint8_t sectorscnt, sector *e_sector );\r
9ca155ba 66#endif\r
Impressum, Datenschutz