Merge pull request #1078 from tcprst/mfp_cliparser
hf mfp info - now use cliparser
This commit is contained in:
@@ -266,7 +266,17 @@ static int get_plus_version(uint8_t *version, int *version_len) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int CmdHFMFPInfo(const char *Cmd) {
|
static int CmdHFMFPInfo(const char *Cmd) {
|
||||||
|
CLIParserContext *ctx;
|
||||||
|
CLIParserInit(&ctx, "hf mfp info",
|
||||||
|
"Get info from MIFARE Plus tags",
|
||||||
|
"hf mfp info");
|
||||||
|
|
||||||
|
void *argtable[] = {
|
||||||
|
arg_param_begin,
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Information") " ---------------------------");
|
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Information") " ---------------------------");
|
||||||
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
||||||
|
|||||||
@@ -139,7 +139,6 @@ hf mf gen3uid
|
|||||||
hf mf gen3blk
|
hf mf gen3blk
|
||||||
hf mf gen3freeze
|
hf mf gen3freeze
|
||||||
hf mf ice
|
hf mf ice
|
||||||
hf mfp info
|
|
||||||
hf mfu info
|
hf mfu info
|
||||||
hf mfu dump
|
hf mfu dump
|
||||||
hf mfu restore
|
hf mfu restore
|
||||||
|
|||||||
Reference in New Issue
Block a user