mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
ADD: 'hf emv' - from @peterfillmore emv fork. A bit cleaned up and moved around. Should compile
This commit is contained in:
parent
3e83ff2159
commit
2e8d938bef
4 changed files with 13 additions and 7 deletions
|
@ -122,6 +122,7 @@ CMDSRCS = mifarehost.c \
|
||||||
cmdhfmfhard.c \
|
cmdhfmfhard.c \
|
||||||
cmdhfmfdes.c \
|
cmdhfmfdes.c \
|
||||||
cmdhftopaz.c \
|
cmdhftopaz.c \
|
||||||
|
cmdhfemv.c \
|
||||||
cmdhw.c \
|
cmdhw.c \
|
||||||
cmdlf.c \
|
cmdlf.c \
|
||||||
cmdlfio.c \
|
cmdlfio.c \
|
||||||
|
|
|
@ -19,12 +19,13 @@
|
||||||
#include "cmdhf14b.h"
|
#include "cmdhf14b.h"
|
||||||
#include "cmdhf15.h"
|
#include "cmdhf15.h"
|
||||||
#include "cmdhfepa.h"
|
#include "cmdhfepa.h"
|
||||||
#include "cmdhflegic.h"
|
#include "cmdhflegic.h" // LEGIC
|
||||||
#include "cmdhficlass.h"
|
#include "cmdhficlass.h" // ICLASS
|
||||||
#include "cmdhfmf.h"
|
#include "cmdhfmf.h" // CLASSIC
|
||||||
#include "cmdhfmfu.h"
|
#include "cmdhfmfu.h" // ULTRALIGHT/NTAG etc
|
||||||
#include "cmdhfmfdes.h"
|
#include "cmdhfmfdes.h" // DESFIRE
|
||||||
#include "cmdhftopaz.h"
|
#include "cmdhftopaz.h" // TOPAZ
|
||||||
|
#include "cmdhfemv.h" // EMV
|
||||||
#include "protocols.h"
|
#include "protocols.h"
|
||||||
|
|
||||||
static int CmdHelp(const char *Cmd);
|
static int CmdHelp(const char *Cmd);
|
||||||
|
@ -927,6 +928,7 @@ static command_t CommandTable[] = {
|
||||||
{"14b", CmdHF14B, 1, "{ ISO14443B RFIDs... }"},
|
{"14b", CmdHF14B, 1, "{ ISO14443B RFIDs... }"},
|
||||||
{"15", CmdHF15, 1, "{ ISO15693 RFIDs... }"},
|
{"15", CmdHF15, 1, "{ ISO15693 RFIDs... }"},
|
||||||
{"epa", CmdHFEPA, 1, "{ German Identification Card... }"},
|
{"epa", CmdHFEPA, 1, "{ German Identification Card... }"},
|
||||||
|
{"emv", CmdHFEmv, 1, "{ EMV RFIDs... }"},
|
||||||
{"legic", CmdHFLegic, 1, "{ LEGIC RFIDs... }"},
|
{"legic", CmdHFLegic, 1, "{ LEGIC RFIDs... }"},
|
||||||
{"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
|
{"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
|
||||||
{"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
|
{"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// 2011, Merlok
|
// 2011, Merlok
|
||||||
|
// 2014, Peter Fillmore
|
||||||
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>, Hagen Fritsch
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>, Hagen Fritsch
|
||||||
//
|
//
|
||||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||||
|
@ -700,7 +701,8 @@ int CmdHF14ACmdRaw(const char *cmd) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void waitCmd(uint8_t iSelect) {
|
static void waitCmd(uint8_t iSelect)
|
||||||
|
{
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
uint16_t len = 0;
|
uint16_t len = 0;
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ int CmdHF14AMifare(const char *Cmd);
|
||||||
int CmdHF14AReader(const char *Cmd);
|
int CmdHF14AReader(const char *Cmd);
|
||||||
int CmdHF14ASim(const char *Cmd);
|
int CmdHF14ASim(const char *Cmd);
|
||||||
int CmdHF14ASniff(const char *Cmd);
|
int CmdHF14ASniff(const char *Cmd);
|
||||||
|
int CmdHF14AEMVTransaction(const char *Cmd);
|
||||||
|
|
||||||
char* getTagInfo(uint8_t uid);
|
char* getTagInfo(uint8_t uid);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue