mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
guard the smarttonfc command
This commit is contained in:
@@ -1663,6 +1663,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
ReaderIso14443a(packet);
|
||||
break;
|
||||
}
|
||||
#ifdef WITH_SMARTCARD
|
||||
case CMD_HF_ISO14443A_EMV_SIMULATE: {
|
||||
struct p {
|
||||
uint16_t flags;
|
||||
@@ -1676,6 +1677,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
EMVsim(payload->flags, payload->exitAfter, payload->uid, payload->atqa, payload->sak);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
case CMD_HF_ISO14443A_SIMULATE: {
|
||||
struct p {
|
||||
uint8_t tagtype;
|
||||
|
||||
@@ -2980,7 +2980,7 @@ static command_t CommandTable[] = {
|
||||
{"search", CmdEMVSearch, IfPm3Iso14443, "Try to select all applets from applets list and print installed applets"},
|
||||
{"select", CmdEMVSelect, IfPm3Iso14443, "Select applet"},
|
||||
{"-----------", CmdHelp, IfPm3Iso14443a, "---------------------- " _CYAN_("simulation") " ---------------------"},
|
||||
{"smart2nfc", CmdEMVSmartToNFC, IfPm3Iso14443, "Complete transaction as a nfc smart card, using the ISO-7816 interface for auth"},
|
||||
{"smart2nfc", CmdEMVSmartToNFC, IfPm3Smartcard, "Complete transaction as a nfc smart card, using the ISO-7816 interface for auth"},
|
||||
/*
|
||||
{"getrng", CmdEMVGetrng, IfPm3Iso14443, "Get random number from terminal"},
|
||||
{"eload", CmdEmvELoad, IfPm3Iso14443, "Load EMV tag into device"},
|
||||
|
||||
Reference in New Issue
Block a user