mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
guard the smarttonfc command
This commit is contained in:
parent
fc06cafc2f
commit
00f9403537
2 changed files with 3 additions and 1 deletions
|
@ -1663,6 +1663,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||||
ReaderIso14443a(packet);
|
ReaderIso14443a(packet);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#ifdef WITH_SMARTCARD
|
||||||
case CMD_HF_ISO14443A_EMV_SIMULATE: {
|
case CMD_HF_ISO14443A_EMV_SIMULATE: {
|
||||||
struct p {
|
struct p {
|
||||||
uint16_t flags;
|
uint16_t flags;
|
||||||
|
@ -1676,6 +1677,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||||
EMVsim(payload->flags, payload->exitAfter, payload->uid, payload->atqa, payload->sak);
|
EMVsim(payload->flags, payload->exitAfter, payload->uid, payload->atqa, payload->sak);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
case CMD_HF_ISO14443A_SIMULATE: {
|
case CMD_HF_ISO14443A_SIMULATE: {
|
||||||
struct p {
|
struct p {
|
||||||
uint8_t tagtype;
|
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"},
|
{"search", CmdEMVSearch, IfPm3Iso14443, "Try to select all applets from applets list and print installed applets"},
|
||||||
{"select", CmdEMVSelect, IfPm3Iso14443, "Select applet"},
|
{"select", CmdEMVSelect, IfPm3Iso14443, "Select applet"},
|
||||||
{"-----------", CmdHelp, IfPm3Iso14443a, "---------------------- " _CYAN_("simulation") " ---------------------"},
|
{"-----------", 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"},
|
{"getrng", CmdEMVGetrng, IfPm3Iso14443, "Get random number from terminal"},
|
||||||
{"eload", CmdEmvELoad, IfPm3Iso14443, "Load EMV tag into device"},
|
{"eload", CmdEmvELoad, IfPm3Iso14443, "Load EMV tag into device"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue