Fix smartcard commands visibility
This commit is contained in:
@@ -1119,13 +1119,13 @@ static int CmdSmartBruteforceSFI(const char *Cmd) {
|
|||||||
|
|
||||||
static command_t CommandTable[] = {
|
static command_t CommandTable[] = {
|
||||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||||
{"list", CmdSmartList, IfPm3Present, "List ISO 7816 history"},
|
{"list", CmdSmartList, IfPm3Smartcard, "List ISO 7816 history"},
|
||||||
{"info", CmdSmartInfo, AlwaysAvailable, "Tag information"},
|
{"info", CmdSmartInfo, IfPm3Smartcard, "Tag information"},
|
||||||
{"reader", CmdSmartReader, AlwaysAvailable, "Act like an IS07816 reader"},
|
{"reader", CmdSmartReader, IfPm3Smartcard, "Act like an IS07816 reader"},
|
||||||
{"raw", CmdSmartRaw, AlwaysAvailable, "Send raw hex data to tag"},
|
{"raw", CmdSmartRaw, IfPm3Smartcard, "Send raw hex data to tag"},
|
||||||
{"upgrade", CmdSmartUpgrade, AlwaysAvailable, "Upgrade sim module firmware"},
|
{"upgrade", CmdSmartUpgrade, IfPm3Smartcard, "Upgrade sim module firmware"},
|
||||||
{"setclock", CmdSmartSetClock, AlwaysAvailable, "Set clock speed"},
|
{"setclock", CmdSmartSetClock, IfPm3Smartcard, "Set clock speed"},
|
||||||
{"brute", CmdSmartBruteforceSFI, AlwaysAvailable, "Bruteforce SFI"},
|
{"brute", CmdSmartBruteforceSFI, IfPm3Smartcard, "Bruteforce SFI"},
|
||||||
{NULL, NULL, NULL, NULL}
|
{NULL, NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user