]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmfdes.h
Fixed: "hf mfdes info"
[proxmark3-svn] / client / cmdhfmfdes.h
CommitLineData
f38a1528 1//-----------------------------------------------------------------------------
2// Copyright (C) 2014 Iceman
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 Desfire commands
9//-----------------------------------------------------------------------------
10
11int CmdHFMFDes(const char *Cmd);
12int CmdHF14ADesAuth(const char* cmd);
13int CmdHF14ADesRb(const char* cmd);
14int CmdHF14ADesWb(const char* cmd);
15int CmdHF14ADesInfo(const char *Cmd);
16int CmdHF14ADesEnumApplications(const char *Cmd);
17int CmdHF14ADesNonces(const char *Cmd);
18char * GetCardSizeStr( uint8_t fsize );
19char * GetVendorStr( uint8_t id);
20char * GetProtocolStr(uint8_t id);
313ee67e 21
22
23
24#define CREATE_APPLICATION 0xca
25#define DELETE_APPLICATION 0xda
26#define GET_APPLICATION_IDS 0x6a
27#define SELECT_APPLICATION 0x5a
28#define FORMAT_PICC 0xfc
29#define GET_VERSION 0x60
30#define READ_DATA 0xbd
31#define WRITE_DATA 0x3d
32#define GET_VALUE 0x6c
33#define CREDIT 0x0c
34#define DEBIT 0xdc
35#define LIMITED_CREDIT 0x1c
36#define WRITE_RECORD 0x3b
37#define READ_RECORDS 0xbb
38#define CLEAR_RECORD_FILE 0xeb
39#define COMMIT_TRANSACTION 0xc7
40#define ABORT_TRANSACTION 0xa7
41#define GET_FREE_MEMORY 0x6e
42#define GET_FILE_IDS 0x6f
43#define GET_FILE_SETTINGS 0xf5
44#define CHANGE_FILE_SETTINGS 0x5f
45#define CREATE_STD_DATA_FILE 0xcd
46#define CREATE_BACKUP_DATA_FILE 0xcb
47#define CREATE_VALUE_FILE 0xcc
48#define CREATE_LINEAR_RECORD_FILE 0xc1
49#define CREATE_CYCLIC_RECORD_FILE 0xc0
50#define DELETE_FILE 0xdf
51#define AUTHENTICATE 0x0a // AUTHENTICATE_NATIVE
52#define AUTHENTICATE_ISO 0x1a // AUTHENTICATE_STANDARD
53#define AUTHENTICATE_AES 0xaa
54#define CHANGE_KEY_SETTINGS 0x54
55#define GET_KEY_SETTINGS 0x45
56#define CHANGE_KEY 0xc4
57#define GET_KEY_VERSION 0x64
58#define AUTHENTICATION_FRAME 0xAF
Impressum, Datenschutz