mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-10 23:42:40 -07:00
* added `hf emv scan` command and options * add tlv tag save to json * added tlv tree navigation * added kernel id and moved some parts of code in ppse * save gpo result * added read records * extract childs from tlv works * added application data list * added work with application data section * flag --extract works * refactoring: move json functions to emvjson.h/c * added path.c to jansson * refactoring: move ParamLoadFromJson * refactoring: move defparams.json to tag-name-value structure * refactoring and add key recovering * added some codes to appdata list * refactoring: process response format 1 from GPO * added save mode * added RID to app data * add file name handling and small refactoring in argtable string processing * added finalization logic to `emv scan` and option to remove hash checking in key recovery
34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
//-----------------------------------------------------------------------------
|
|
// 2011, Merlok
|
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// High frequency ISO14443A commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDHF14A_H__
|
|
#define CMDHF14A_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "mifare.h"
|
|
|
|
int CmdHF14A(const char *Cmd);
|
|
int CmdHF14AList(const char *Cmd);
|
|
int CmdHF14AMifare(const char *Cmd);
|
|
int CmdHF14AReader(const char *Cmd);
|
|
extern int CmdHF14AInfo(const char *Cmd);
|
|
int CmdHF14ASim(const char *Cmd);
|
|
int CmdHF14ASnoop(const char *Cmd);
|
|
char* getTagInfo(uint8_t uid);
|
|
|
|
extern void DropField();
|
|
|
|
extern int Hf14443_4aGetCardData(iso14a_card_select_t * card);
|
|
extern int ExchangeRAW14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
|
|
extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
|
|
|
|
#endif
|