Merge pull request #1130 from tcprst/fido_cliparser
hf fido info - now use cliparser
This commit is contained in:
@@ -48,10 +48,18 @@ static int cmd_hf_fido_list(const char *Cmd) {
|
||||
return CmdTraceList(args);
|
||||
}
|
||||
|
||||
static int cmd_hf_fido_info(const char *cmd) {
|
||||
static int cmd_hf_fido_info(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "hf fido info",
|
||||
"Get info from Fido tags",
|
||||
"hf fido info");
|
||||
|
||||
if (cmd && strlen(cmd) > 0)
|
||||
PrintAndLogEx(WARNING, "WARNING: command doesn't have any parameters.\n");
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
// info about 14a part
|
||||
infoHF14A(false, false, false);
|
||||
|
||||
@@ -73,7 +73,6 @@ hf felica rqspecver
|
||||
hf felica resetmode
|
||||
hf felica litesim
|
||||
hf felica litedump
|
||||
hf fido info
|
||||
hf mf darkside
|
||||
hf mf nested
|
||||
hf mf hardnested
|
||||
|
||||
Reference in New Issue
Block a user