mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
hf fido info - now use cliparser
This commit is contained in:
parent
69e5f8daa5
commit
59e3c31e0f
2 changed files with 11 additions and 4 deletions
|
@ -48,10 +48,18 @@ static int cmd_hf_fido_list(const char *Cmd) {
|
||||||
return CmdTraceList(args);
|
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)
|
void *argtable[] = {
|
||||||
PrintAndLogEx(WARNING, "WARNING: command doesn't have any parameters.\n");
|
arg_param_begin,
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
// info about 14a part
|
// info about 14a part
|
||||||
infoHF14A(false, false, false);
|
infoHF14A(false, false, false);
|
||||||
|
|
|
@ -73,7 +73,6 @@ hf felica rqspecver
|
||||||
hf felica resetmode
|
hf felica resetmode
|
||||||
hf felica litesim
|
hf felica litesim
|
||||||
hf felica litedump
|
hf felica litedump
|
||||||
hf fido info
|
|
||||||
hf mf darkside
|
hf mf darkside
|
||||||
hf mf nested
|
hf mf nested
|
||||||
hf mf hardnested
|
hf mf hardnested
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue