From a79c792d9ff2f6457d690fec6d82e3b64ff600b3 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 1 May 2019 22:37:47 +0200 Subject: [PATCH] Fix smartcard commands visibility --- client/cmdsmartcard.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/cmdsmartcard.c b/client/cmdsmartcard.c index 4b41f7201..342aa67f4 100644 --- a/client/cmdsmartcard.c +++ b/client/cmdsmartcard.c @@ -1119,13 +1119,13 @@ static int CmdSmartBruteforceSFI(const char *Cmd) { static command_t CommandTable[] = { {"help", CmdHelp, AlwaysAvailable, "This help"}, - {"list", CmdSmartList, IfPm3Present, "List ISO 7816 history"}, - {"info", CmdSmartInfo, AlwaysAvailable, "Tag information"}, - {"reader", CmdSmartReader, AlwaysAvailable, "Act like an IS07816 reader"}, - {"raw", CmdSmartRaw, AlwaysAvailable, "Send raw hex data to tag"}, - {"upgrade", CmdSmartUpgrade, AlwaysAvailable, "Upgrade sim module firmware"}, - {"setclock", CmdSmartSetClock, AlwaysAvailable, "Set clock speed"}, - {"brute", CmdSmartBruteforceSFI, AlwaysAvailable, "Bruteforce SFI"}, + {"list", CmdSmartList, IfPm3Smartcard, "List ISO 7816 history"}, + {"info", CmdSmartInfo, IfPm3Smartcard, "Tag information"}, + {"reader", CmdSmartReader, IfPm3Smartcard, "Act like an IS07816 reader"}, + {"raw", CmdSmartRaw, IfPm3Smartcard, "Send raw hex data to tag"}, + {"upgrade", CmdSmartUpgrade, IfPm3Smartcard, "Upgrade sim module firmware"}, + {"setclock", CmdSmartSetClock, IfPm3Smartcard, "Set clock speed"}, + {"brute", CmdSmartBruteforceSFI, IfPm3Smartcard, "Bruteforce SFI"}, {NULL, NULL, NULL, NULL} };