Fix smartcard commands visibility

This commit is contained in:
Philippe Teuwen 2019-05-01 22:37:47 +02:00
parent 6b2677c154
commit a79c792d9f

View file

@ -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}
};